Hi guys!
I am new to prometheus and having some difficulties with it and have 
already become a little confused.
I am trying to calculate the amount of incoming traffic for an interface 
for all the time in megabytes, which is displayed in octets.
Please correct, what am I doing wrong?
P.S. sorry for my English.

ifHCInOctets{ifDescr="ether1",ifIndex="3",ifName="ether1",instance="10.10.4.102",job="snmp"}
  
value=1433610926 this is how query looks in prom.

sum(ifHCInOctets{ifDescr="ether1",ifName="ether1",instance="10.10.4.102",job="snmp"})/1000000
 
and i'm trying to calculate sum of traffic.
As a result, my value=1433.610926


-- 
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/4f1d1f2d-4224-4cc6-9d00-cf0736a78732%40googlegroups.com.

Reply via email to