Thank you.

On Sunday, May 10, 2020 at 3:11:50 PM UTC+3, Dmitry wrote:
>
> 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/5994a273-944e-4608-b8c0-33fef73d6bf1%40googlegroups.com.

Reply via email to