rfmoz / grafana-dashboards

Grafana dashboards
Apache License 2.0
1.21k stars 446 forks source link

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

Open ansgri opened 8 months ago

ansgri commented 8 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 5 months ago

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