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/b7affc65-a3d7-445d-a1a8-8fb3ad40dd03%40googlegroups.com.

