kinduff / kinduff/csgo_exporter

Dashboard not compatible with FaceIT matches

Open
#40 6 comments 0 reactions 0 assignees View on GitHub
enhancement hacktoberfest
Dominant language
Go
Stars
19
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Just a minor bug i have discovered in the Grafana dashboard: It is not compatible with matches played on FaceIt.

The panel for presenting the result of the match (win, loss, tie) is assuming the default round number in the official league, best out of 30 rounds. However, on FaceIT you won't get a tie if both teams have 15 round wins, but it will get an overtime with an additional 8 rounds, where your team will win once it has won 5 rounds. These overtime rounds are not calculated by the dashboard yet, therefore presenting the match as a tie, when instead we have lost.

Fortunately there is a metric called `csgo_last_match_metric{type="rounds"}` which can be used as a base for that panel instead of the hardcoded 15 value. I will submit a PR soon, but wanted to create this issue as a global issue, maybe we will find other incompatibilities for faceIT which can be tracked here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the Grafana dashboard and inspect the panel that presents match results, using csgo_last_match_metric{type="rounds"} as the stated reference for overtime rounds. Verify that FaceIT overtime results are no longer shown as ties, including the described loss case; the issue names no file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana, prometheus
Domain
data-visualization, observability
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.