Comments (4)
Presumably you have a reasonably modern version of grafana?
My guess is that you've not set the correct scrape interval in the grafana data source you've defined.
Look under Configuration > Data Sources > (your prometheus)
Suppose the scrape interval is set to 15s here (which is the default if you haven't set it) - but you're actually scraping at 1 minute intervals in your prometheus config. $__rate_interval
will drop to (graph_step+15s), eventually reaching a minimum value, which is 4 x datasource interval = 1m
At this point you're doing rate(...)[1m]
which will display no data if you are scraping at 1 minute intervals; you need at least rate(...)[2m]
. You can achieve this by setting the data source interval to 30s.
You can set the data source interval to the "correct" value of 1m to match your scraping, but that will give you a rate calculated over the points in a 4m window, which is actually the rate over 3 minutes (from the first to last data point in that window). I think this is wrong, and I raised it here, but that was rejected.
from grafana-dashboards.
That is an annoying thing, great to know that now there is a realiable alternative.
Definitively is the way to go, but the new release requirement can be a trouble for the people that doesn't have the version updated.
But, as I updated the dashboard version on #70 to 7.3.7, it can be only on this repo for a few weeks or months until I publish it on Grafana website, giving time to have an updated userbase.
from grafana-dashboards.
I'm getting "No data" when zooming in using this change. It works for "last 24 hours" and "last 12 hours" but breaks under 6h and less :/
Reverting to irate
and 5m
fixes it
from grafana-dashboards.
You're right, that was absolutely it! Thanks for the detailed answer, this makes sense now!
from grafana-dashboards.
Related Issues (20)
- HAProxy status panel without state labels/information HOT 1
- [feature] Toggle for 95% percentile on graphs for node-exporter-full.json
- No data showing HOT 6
- Include Node Exporter `node_pressure_*` PSI metrics in Node Exporter Full dashboard HOT 2
- CPU Usage & Network Traffic Basic not reflecting over Grafana HOT 3
- Scrollbars on Gauge display in Grafana 10.3 HOT 1
- Layout Error HOT 3
- Duplicate series with two Raspberry Pis HOT 5
- node-exporter-full json string
- Node Exporter Full: does not make sense to calculate Sys Load to percent HOT 4
- Use hostname instad of address in node selector HOT 2
- most of things doesnt match
- Bytes in/out are multiplied by 8 HOT 1
- Node Exporter Suggestion: have time series widget of load5
- [haproxy-2] Frontend cache uses $backend variable HOT 1
- Node Exporter Full Network Traffic Basic uses irate() that leads to spiky graph HOT 1
- Convert panels from 'graph' to 'timeseries' plugin HOT 3
- Exclude readonly filesystems from disk space graph
- graphs for cpu and other not displayed when min step set to auto
- Node Exporter FreeBSD - CPU temperature?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-dashboards.