-
Notifications
You must be signed in to change notification settings - Fork 10
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
Graphs will have no data when zoomed in due to misalignment when $__rate_interval
is used
#26
Comments
Moved to: canonical/prometheus-k8s-operator#543 |
@nobuto-m reopening this as it feels like a more appropriate place to have the conversation, as the agent subordinate charm won't have the option of using the scrape config charm inbetween. |
Hmm, what kind of actions are expected in the grafana-agent charm for this issue? |
Hi, we're seeing the issue with one of our customers. |
A config option for setting scrape interval was added in #103. Side comment: for scrape-config of 5m scrape interval for nrpe checks, we may want to use the promql interpolation notation ( |
It wasn't me who reopened this issue since I closed it to move to canonical/prometheus-k8s-operator#543 |
Thanks for the update, so closing for now. |
Bug Description
10 graphs in the node exporter dashboard are missing due to "no data" #23
However, 43 additional graphs will be missed when it's zoomed into say "Last 15 minutes". I think this is due to the misalignment in
$__rate_interval
.scrape interval
in the data source config is not set and it has 15s as the default value. However, Prometheus in COS uses 1m as the global scrape_interval so$__rate_interval
won't be properly calculated if I'm not mistaken.ref: https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/
[zoomed in to 15 min]
[after manually putting >1m (the scrape_interval) to the
Min step
][scrape interval is not set in the data source config]
To Reproduce
With MAAS provider, deploy the grafana-agent charm onto another charm, and relate it to COS. Then zoom into 15 min range in the Grafana node-exporter dashboard.
Environment
grafana-agent latest/edge 20
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: