Skip to content

Commit 38844d2

Browse files
committed
Bump scrape intervals to 60s
1 parent 35e0492 commit 38844d2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ansible/roles/prometheus/templates/prometheus.yml.j2

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
global:
3-
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
4-
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
3+
scrape_interval: 60s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
4+
evaluation_interval: 60s # Evaluate rules every 15 seconds. The default is every 1 minute.
55
scrape_timeout: 15s
66

77
# the path is absolute as ansible `validates` temporary file in some temporary directory
@@ -45,7 +45,7 @@ scrape_configs:
4545
{% endfor %}
4646

4747
- job_name: 'node'
48-
scrape_interval: 5s
48+
scrape_interval: 60s
4949
scheme: https
5050
tls_config:
5151
ca_file: "{{ prometheus_exporter_cert }}"
@@ -73,7 +73,7 @@ scrape_configs:
7373
# - targets:
7474

7575
- job_name: 'raw-netdata'
76-
scrape_interval: 5s
76+
scrape_interval: 60s
7777
scheme: http
7878
metrics_path: "/api/v1/allmetrics"
7979
params:
@@ -90,7 +90,7 @@ scrape_configs:
9090
# - 2.th.ooni.org:19999
9191

9292
- job_name: 'test-helpers'
93-
scrape_interval: 5s
93+
scrape_interval: 60s
9494
scheme: http
9595
metrics_path: "/metrics"
9696
static_configs:
@@ -101,7 +101,7 @@ scrape_configs:
101101
- 3.th.ooni.org:9001
102102

103103
- job_name: 'ooni-api'
104-
scrape_interval: 5s
104+
scrape_interval: 60s
105105
scheme: https
106106
static_configs:
107107
- targets: [ 'api.ooni.io:443' ]
@@ -118,7 +118,7 @@ scrape_configs:
118118
- ooni.netlify.com:443
119119

120120
- job_name: 'clickhouse'
121-
scrape_interval: 5s
121+
scrape_interval: 60s
122122
scheme: http
123123
metrics_path: "/metrics"
124124
static_configs:
@@ -127,7 +127,7 @@ scrape_configs:
127127

128128
# See ansible/roles/ooni-backend/tasks/main.yml for the scraping targets
129129
- job_name: 'haproxy'
130-
scrape_interval: 5s
130+
scrape_interval: 60s
131131
scheme: https
132132
metrics_path: "/__haproxy_prom_metrics"
133133
static_configs:

0 commit comments

Comments
 (0)