--
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 view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2366deaa-7db7-4ee6-a73e-bb4d30c5d6ff%40googlegroups.com.
You're probably looking for the histogram data type. It allows you to calculate quantiles over time without having to collect every sample.
On Wed, Jun 3, 2020, 20:01 b0nes <h.b...@gmail.com> wrote:
--Hello,I was wondering if the following is possible:
- Have a Python or Bash script check duration of a certain API call 5-10 times per second
- Scrape these stats once per second
- Calculate min, avg, 0.5, 0.9, 0.99 quantiles, max and graph them in Grafana.
I spent many hours today trying to figure this out, and along the way I used the pushgateway and statsd exporter.Pushgateway seems to override the last value until it gets scraped, which isn't what I want - I want all values, not just the latest one.statsd has a summary option, but doesn't provide a min and max value.
Anyone know how to do what I want?
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 promethe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/a4b4bc75-09f9-4302-b435-cf988f092885%40googlegroups.com.