Skip to content

Commit 0d8b28a

Browse files
committed
Set Prometheus scrape interval to 15s
I think the default scrape interval changed from 15s to 1m, but Grafana defaults to 15s and I guess doesn't query Prometheus for it. This breaks graphs such as CPU usage or network transfer, because they don't have enough data to do a `rate`.
1 parent 2840dc1 commit 0d8b28a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

files/prometheus.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22

3+
global:
4+
scrape_interval: 15s
5+
36
scrape_configs:
47
- job_name: prometheus
58
static_configs:

0 commit comments

Comments
 (0)