Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidation of Gauge metrics for simplicity. #41

Merged
merged 2 commits into from
Oct 24, 2021

Conversation

khaines
Copy link
Collaborator

@khaines khaines commented Oct 22, 2021

This change consolidates a few discreet metrics into a consolidated time series, using a label to differentiate the different states. This actually makes the the dash board queries simpler, since the sum of the single metric is the total of all server states, while still being able to graph each state individually.

All metrics have been updated with a "thundernetes" namespace prefix for ease of discovery in tools like grafana.

Also streamlined the metrics registration by using the promauto library of prometheus.

I've separated out the grafana and prom operator changes to a different PR to keep things tidy.

…nt label values.

Changed metric registration to use promauto, in order to skip the hassle of manual registration

Signed-off-by: Ken Haines <1144092+khaines@users.noreply.github.com>
Signed-off-by: Ken Haines <1144092+khaines@users.noreply.github.com>
Copy link
Collaborator

@dgkanatsios dgkanatsios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@khaines khaines merged commit bb0ffac into PlayFab:master Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants