-
Notifications
You must be signed in to change notification settings - Fork 182
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
Provide some guidance for coming up with default histogram buckets for various metrics #316
Comments
another option could be to follow the pattern
and another similar option with less buckets:
or even fewer:
|
Generalizing your last comment into an algorithm we could encode into the spec might look like:
The advantage of laying down some convention like this is while there are still domain specific decisions to debate like "how many orders of magnitude is typical?" and "how many inner buckets yield a useful distribution for most users?", it does narrow the solution space quite a bit. It also produces bucket boundaries which are nice even numbers with an intuitive explanation. |
Coming up with default histogram buckets for various metrics can be challenging, as we've seen in #274.
I'd like to propose some guidance for coming up with default histogram buckets which we can lean on in each time the issue of defining default histogram buckets comes up.
Proposal:
[ 0, 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]
(dropping the zero bucket?)These would only be recommendations, and so if there is compelling reason to come up with a completely custom set of buckets for a particular metric that would always be ok.
The text was updated successfully, but these errors were encountered: