That's a very weird query to be sure. I guess it depends a lot on what net_bytes_recv is. Is the underlying data a gauge of bytes per second? Or is it a counter?
On Fri, Aug 21, 2020 at 3:13 PM Denny Fuchs <[email protected]> wrote: > Hello, > > I'm new to Prometheus and trying out Thanos. I'm coming from the InfluxDB > / Telegraf world and I found a Template for Grafana, which is a fork, we > use for InfluxDB. It is for Victoriametrics and uses in the Grafana > template some functions, PromQL does not have. > > One of them is: abs(ideriv)): On the side from VictoriaMetrics > <https://victoriametrics.github.io/MetricsQL.html>() it means: "ideriv(m) > - for calculating instant derivative for m." > > I have something like: > > abs(ideriv(quantile(0.5,net_bytes_recv{host =~ "$server",interface =~ > "(vlan|eth|bond|ens).*"}) by (host,interface)))*8 > > Is there a way to get the same, so that I can search/replace this function > ? > > cu denny > > -- > 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/74d24101-1976-4ae8-aa28-8be919d274ebn%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/74d24101-1976-4ae8-aa28-8be919d274ebn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CABbyFmqX554pV4GaUKjRAO%2BQCEFpuokHPNR73sAZv9T6Ua_V%2Bw%40mail.gmail.com.

