Thanks a lot Brain, this works.

On Tuesday, April 21, 2020 at 1:19:43 PM UTC+5:30, Brian Candler wrote:
>
> Those metrics like haproxy_frontend_http_requests_total are counters.
>
> If you want see much they've increased in the last 24 hours, then you need 
> to use this function 
> <https://prometheus.io/docs/prometheus/latest/querying/functions/#increase>
> :
>
> increase(haproxy_frontend_http_requests_total[24h])
>
> which is equivalent to
>
> rate(haproxy_frontend_http_requests_total[24h]) * 86400
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/455c2206-13b4-4694-9d81-1c1925785f92%40googlegroups.com.

Reply via email to