Bug Description
Several panels in the etcd Grafana dashboard use rate(...[1m]) expressions:
The opentelemetry-collector has a default scrape_interval of 1m.
Prometheus's rate() function requires at least 2 data points within the specified time window to compute a meaningful result.
When the window equals the scrape interval, only 1 data point is typically available, causing rate() to return no data.
To Reproduce
juju deploy k8s --channel=1.32/stable --revision=1921
juju relate k8s opentelemetry-collector
Environment
- Juju 3.6.23
- k8s 1.32/stable rev 1921
Relevant log output
Additional context
No response
Bug Description
Several panels in the etcd Grafana dashboard use
rate(...[1m])expressions:The opentelemetry-collector has a default scrape_interval of
1m.Prometheus's rate() function requires at least 2 data points within the specified time window to compute a meaningful result.
When the window equals the scrape interval, only 1 data point is typically available, causing rate() to return no data.
To Reproduce
Environment
Relevant log output
Additional context
No response