Simple bandwidth usage (singlestat)

Hello,

I am trying to get a simple Singlestat that shows the total amount of bandwidth used for an interface on my router (for now just download). I thought this would be easy using ifinOctets but I can’t seem to get the math and aggregation type right. I am new to grafana and are unsure if I…

  1. use an aggregation of sum or mean.
  2. set value\stat to total or current.
  3. multiply by 8 as I am getting total octets.

I’ve googled around and tried a few different things, but can’t seem to figure it out.

Thanks in advance for any suggestions.