How to Count one day's network traffic with prometheus

9 views
Skip to first unread message

Jie Yang

unread,
Dec 15, 2020, 1:13:39 AM12/15/20
to promethe...@googlegroups.com
Someone Can help?

Jie Yang

unread,
Dec 15, 2020, 1:24:36 AM12/15/20
to promethe...@googlegroups.com
I use 
```
sum(increase(node_network_receive_bytes_total{instance=~"%s",device!~"tap.*|veth.*|br.*|docker.*|virbr.*|lo.*|cni.*",job="node"}[%s] offset %s))
```
this query for use .and I want one day network traffic for beginning 00:00:00~23:59:59 .
so anyone Could give me some suggestion?

On Tue, Dec 15, 2020 at 2:13 PM Jie Yang <fun...@gmail.com> wrote:
Someone Can help?
Reply all
Reply to author
Forward
0 new messages