On 07 Jan 06:56, Rodolphe Ghio wrote:
> Hi everyone ! 
> First of all I wish you a happy new year.
> 
> I would like to use the deriv() function but this function needs a range 
> vector so my query should look like this: 
> deriv(<metric_name>[<time_range>]). But I don't really understand how can I 
> choose an acurate time_range in square brackets.
> Can someone help me to find out how can choose the right time_range ?
> 
> King regards,
> GHIO Rodolphe

Please look at
https://www.robustperception.io/what-range-should-i-use-with-rate

or
https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/


> 
> 
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/9f285f7f-3afc-4a5b-b2de-ffb8a2dafe7dn%40googlegroups.com.


-- 
Julien Pivotto
@roidelapluie

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20210107153112.GA660193%40oxygen.

Reply via email to