summaryrefslogtreecommitdiffstats
path: root/tools/docker-compose/ansible/roles/sources/templates/prometheus.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'tools/docker-compose/ansible/roles/sources/templates/prometheus.yml.j2')
-rw-r--r--tools/docker-compose/ansible/roles/sources/templates/prometheus.yml.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/docker-compose/ansible/roles/sources/templates/prometheus.yml.j2 b/tools/docker-compose/ansible/roles/sources/templates/prometheus.yml.j2
index 7e1f5e4b02..22953c8627 100644
--- a/tools/docker-compose/ansible/roles/sources/templates/prometheus.yml.j2
+++ b/tools/docker-compose/ansible/roles/sources/templates/prometheus.yml.j2
@@ -1,7 +1,7 @@
#jinja2: lstrip_blocks: True
---
global:
- scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
+ scrape_interval: {{ scrape_interval }} # Set the scrape interval to something faster. Default is every 1 minute.
scrape_configs:
- job_name: 'awx'
@@ -11,7 +11,7 @@ scrape_configs:
# so no need to track nodes individually.
- awx1:8013
metrics_path: /api/v2/metrics
- scrape_interval: 5s
+ scrape_interval: {{ scrape_interval }}
scheme: http
params:
format: ['txt']