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

Resolution of meters cannot record marks lower than once per second #243

Open
dhubler opened this issue Sep 13, 2018 · 0 comments
Open

Resolution of meters cannot record marks lower than once per second #243

dhubler opened this issue Sep 13, 2018 · 0 comments

Comments

@dhubler
Copy link

dhubler commented Sep 13, 2018

If I call
metrics.GetOrRegisterMeter("x", Stats).Mark(1)
once ever 2 seconds, then all the rates are 0. On one hand, this is reasonable considering the units are "marks/second" but this seems arbitrarily limiting.

As a work around, if I call
metrics.GetOrRegisterMeter("x", Stats).Mark(100)
And I divide the rate's by 100, I can a somewhat usable value.

Should I be using another method other than meter?

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

No branches or pull requests

1 participant