eclipse / microprofile-metrics

microprofile-metrics
Apache License 2.0
100 stars 66 forks source link

Add tracking for max and min values to SimpleTimer #523

Closed donbourne closed 4 years ago

donbourne commented 4 years ago

See discussion in #496

For this, I'm thinking we should match the approach of ConcurrentGauge for the max and min. In ConcurrentGauge we give users the max / min in the last complete minute. Tools like Prometheus typically scrape metrics at least once a minute and give users the ability to query the max or min of a metric over whatever timespan you request.

Channyboy commented 3 years ago

PR was : https://github.com/eclipse/microprofile-metrics/pull/556