Hi Mario!

Try the following query:

sum(max_over_time(increase(node_network_receive_bytes_total[1d])[1d:1d]))
by (instance,device)

It will return summary per-day incoming traffic for each device for every
instance. Note that dates on the graph are shifted by one day, i.e. the
value for the current day on the graph corresponds to the value for the
previous day.


On Saturday, August 29, 2020, Mario Pranjic <[email protected]> wrote:

> Hi,
>
> I have panel showing network send/receive network traffic as follows:
> rate(node_network_receive_bytes_total{instance="proxy.yggdrasil.local:9100",
> device="ens3"}[1m])
> rate(node_network_transmit_bytes_total{instance="proxy.yggdrasil.local:9100",
> device="ens3"}[1m])
>
> I need one to show network traffic summarized per day.
> Whatever I tried, I ended-up with bits and pieces, and not proper one
> number per day.
>
> I collect in Prometheus and visualize in Grafana.
>
> How to accomplish this?
>
> Thanks in advance!
>
> Best regards,
>
> Mario.
>
> --
> 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/CAE%2BvKfAqZgd8YDGBojXmDXhvAdwO0CV
> MnxzO-98tdhy-h0gcVQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/prometheus-users/CAE%2BvKfAqZgd8YDGBojXmDXhvAdwO0CVMnxzO-98tdhy-h0gcVQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Best Regards,

Aliaksandr Valialkin, CTO VictoriaMetrics

-- 
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/CAPbKnmDc299%2BEwn6TtdiFfYDxg%2B2o4kpF7ZPOf88zRBvsXb_eg%40mail.gmail.com.

Reply via email to