rfmoz / grafana-dashboards

Grafana dashboards
Apache License 2.0
1.1k stars 438 forks source link

Node Exporter Full Network Traffic Basic uses irate() that leads to spiky graph #166

Open ansgri opened 4 months ago

ansgri commented 4 months ago

The issue concerns the dashboard prometheus/node-exporter-full.json In Network Traffic Basic panel, the function rate seems more appropriate than the currently used irate, as rate gets correct average traffic per interval irrespective of relation between scraping interval and __rate_interval. The irate can hide large bursts of traffic if the range interval is large.

Especially visible on traffic consisting of regular bursts. Top is current version, bottom uses rate():

image
filimonov commented 3 weeks ago

https://valyala.medium.com/why-irate-from-prometheus-doesnt-capture-spikes-45f9896d7832