mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
Automate bootstrapping of Prometheus in the development environment
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#jinja2: lstrip_blocks: True
|
||||
---
|
||||
global:
|
||||
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'awx'
|
||||
static_configs:
|
||||
- targets:
|
||||
# metrics are broadcast to all nodes in the cluster,
|
||||
# so no need to track nodes individually.
|
||||
- awx1:8013
|
||||
metrics_path: /api/v2/metrics
|
||||
scrape_interval: 5s
|
||||
scheme: http
|
||||
params:
|
||||
format: ['txt']
|
||||
basic_auth:
|
||||
username: admin
|
||||
password: {{ admin_password }}
|
||||
Reference in New Issue
Block a user