Can you show the noob please, how the formula should look? Now nothing happens at all.
On Friday, May 15, 2020 at 1:02:08 PM UTC+3, Brian Candler wrote: > > On Friday, 15 May 2020 10:04:58 UTC+1, Dmitry wrote: >> >> What a strange situation. If you transfer the formula to grafana and die >> in time intervals, then the increase in 6 hours goes beyond more than 12. >> > > I'm afraid that "increase" is effectively "rate" multiplied up to fit the > entire time range: > https://prometheus.io/docs/prometheus/latest/querying/functions/#increase > > > *The increase is extrapolated to cover the full time range as specified in > the range vector selector* > > > >> Nevertheless, if we consider the total traffic not on the interface, but >> on the device, can we take mikrotik_interface_rx_byte and calculate sum? >> > > sum by (instance) ( increase(...) ) > > will group together all interfaces on the device and give you a separate > sum for each device. > > -- 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/0348a5e3-4613-4a90-9e0c-a5f377916d26%40googlegroups.com.

