-
Notifications
You must be signed in to change notification settings - Fork 1k
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
min statistic for distribution summaries and timers #457
Comments
Just wanted to be clear that there was a use for it before introducing. Seems like alerting on a min is a rare thing, but there is probably a real world case somewhere. What are you thinking of doing? |
BTW, workaround is a P0 percentile:
Micrometer's client-side percentiles are designed to decay in the same way max does. P0 can be interpolated, but it's something. |
Historical monitoring of snapshots (but not necessarily alert) a distribution summary for say ... minimum values for something like say ... request size. All the other relevant stats are there; just seems to be missing this one. |
Reason I'm seeking concrete use cases is we should determine whether this is an always-on thing or an option to select. Leaning towards the latter unless there are an overwhelming number of use cases. Request size has an interesting characteristic that it has a natural lower bound (request header size). Interestingly, it means request size essentially is never normally distributed and standard deviation is useless, but I digress... Would you alert on min size? |
My thought was to track request size only for something like POST or PUT; since as you say the natural lower bound for a GET or HEAD request would typically be just the header + query string. In the case of using HTTP for incoming writes; I would only alert if the use case was below the expected minimum; if that is even knowable for a given use case ... and that really depends on the application imo. |
Sounds like default off with an option to turn it on would be OK then? |
Ya, I think that would work. Thanks! |
This would be useful for the StackDriver Range aggregate as well. |
When implemented, fix min statistic on Azure App Insights implementation as well. #441. |
This would also be useful while reporting to Cloudwatch where you could use StatisticSets: Instead of emitting each value separately in the reporter: Lines 200 to 207 in b604d1d
|
to enable the adjustments for Cloudwatch. i added min value to micrometer. on branch 1.3.x |
Quick question ...
Why doesn't https://github.com/micrometer-metrics/micrometer/blob/master/micrometer-core/src/main/java/io/micrometer/core/instrument/distribution/HistogramSnapshot.java have a min function?
The text was updated successfully, but these errors were encountered: