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

Add more metrics of Meters and Timers to Prometheus registry #20

Merged

Conversation

VoIdemar
Copy link
Contributor

Hi.

Meters and Timers have quite a lot of methods to acquire rates, counts and other stuff, but not all of them are published to Prometheus registry. I suppose they can be useful in certain situations, thus this PR adds missing metrics to registry as gauges.

Some of the metrics are still missing (like percentiles) - my guess is to choose a number of the most useful of them (for example, 25%, 50%, 75%, 90%, 95%, 99%) and add them as gauges as well.

Big thanks for the library, by the way :)

@deathowl deathowl merged commit f2a1482 into deathowl:master Oct 9, 2022
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