Tracking Gauges/Counters value changes

Hello list,

I am tracking interface counters (linux, routers, etc) for packets/bytes transferred over periods of time. However, as these counters are really gauges which are monotonically increasing all the time, plotting them using Kibana or Grafana doesnt convey anything useful.

Is there a known mechanism (plugin?) around this sort of data to get the difference between two consecutive values?

Thanks.