To monitor a server we have imported a dashboard for Grafana. This uses Telegraf and InfluxDB as collector and database.
When certain graphs needed to be adjusted, I noticed that in the network speed queries, the bytes received (bytes_recv) are multiplied by 8, but the units on the graph itself are displayed in bits.
SELECT non_negative_derivative(mean(bytes_recv),1s)*8 as "in" FROM "net" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)
According to my understanding is: 8Bit = 1Byte. According to this, if the data is available as bytes, it would have to be divided by 8 to get bits, if the graph should display bits.
Furthermore (if I am not mistaken): Megabit = Mb Mebibit = Mib Megabyte = MB Mebibyte = MiB
Refering to this, the unit on the graph seems to be megabit right? Do I understand something fundamentally wrong or was the "*" simply confused with the "/"?