Couldn't it essentially work the same way as a Gauge but with an if check first to check if the value is greater?
On Monday, 14 August 2017 15:19:15 UTC+1, Brian Brazil wrote:On 14 August 2017 at 14:47, adamdougal <barmy...@gmail.com> wrote:Hey,I'm currently using a histogram to record application response times. I'd like to keep track of the maximum value but can't see that as an option. Is there anything else I can use or can this be added?I've used DropWizard metrics in the past which supports this http://metrics.dropwizard.io/3.2.3/getting-started.html#histogramsThis isn't supported. The fundamental problem is the maximum over what time period? In Prometheus you are meant to be able to calculate over any time period, and thus there's no way to make this work sanely.--Brian Brazil
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/01bda33c-568e-4381-81c4-72352d13e30a%40googlegroups.com.
On 14 August 2017 at 16:08, <barmy...@gmail.com> wrote:Couldn't it essentially work the same way as a Gauge but with an if check first to check if the value is greater?That doesn't tell you when the max was, it could be from now or from a month ago. Logs would be a better way to track this.Brian
--
On Monday, 14 August 2017 15:19:15 UTC+1, Brian Brazil wrote:On 14 August 2017 at 14:47, adamdougal <barmy...@gmail.com> wrote:Hey,I'm currently using a histogram to record application response times. I'd like to keep track of the maximum value but can't see that as an option. Is there anything else I can use or can this be added?I've used DropWizard metrics in the past which supports this http://metrics.dropwizard.io/3.2.3/getting-started.html#histogramsThis isn't supported. The fundamental problem is the maximum over what time period? In Prometheus you are meant to be able to calculate over any time period, and thus there's no way to make this work sanely.--Brian Brazil
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/01bda33c-568e-4381-81c4-72352d13e30a%40googlegroups.com.
Sorry I'm not sure I follow. With my current gauges I can see when they were increased/decreased so I don't understand why I wouldn't be able to here?
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f3e426e5-e34d-4917-8122-7959ffc276f6%40googlegroups.com.
What about adding maximum as a property of a Summary i.e. <basename>_maximum?
Or can we set a bucket of 1.0 and get the same thing?
On Monday, 14 August 2017 15:19:15 UTC+1, Brian Brazil wrote:On 14 August 2017 at 14:47, adamdougal <barmy...@gmail.com> wrote:Hey,I'm currently using a histogram to record application response times. I'd like to keep track of the maximum value but can't see that as an option. Is there anything else I can use or can this be added?I've used DropWizard metrics in the past which supports this http://metrics.dropwizard.io/3.2.3/getting-started.html#histogramsThis isn't supported. The fundamental problem is the maximum over what time period? In Prometheus you are meant to be able to calculate over any time period, and thus there's no way to make this work sanely.--Brian Brazil
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1a98d70a-e81a-4265-9d69-ff050cc766ac%40googlegroups.com.