Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ansgri opened this issue Mar 25, 2024 · 1 comment

Comments

@ansgri
Copy link

ansgri commented Mar 25, 2024

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

@ansgri ansgri changed the title Network Traffic Basic uses irate() that leads to spiky graph Node Exporter Full Network Traffic Basic uses irate() that leads to spiky graph Mar 25, 2024
@filimonov
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants