You still haven't shown your query.  I will guess it's something like:

irate(ifHCInOctets[5m])

If you view this in PromQL browser, you should get a value in bytes per 
second.  If you want bits per second, then:

irate(ifHCInOctets[5m])*8

To visualize this correctly in Grafana, all you have to do is to go to the 
Visualization button and select Data Rate > bytes/sec (or bits/sec)

[image: img1.png]

Grafana will automatically scale the axis.  If it's 2 bits per second, it 
will display 2 bps.  if it's 2000000, it will display 2 Mbps.

-- 
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/6aa217c5-816d-4522-b18e-9c590021ad9a%40googlegroups.com.

Reply via email to