Make the prometheus config file ignored by git

This commit is contained in:
Alan Rominger
2022-06-16 15:41:06 -04:00
parent 173318764b
commit 372aa36207
3 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
---
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: ['awx1:8043'] # or haproxy:8043 in cluster env
tls_config:
insecure_skip_verify: true
metrics_path: /api/v2/metrics
scrape_interval: 5s
scheme: https
params:
format: ['txt']
basic_auth:
username: admin # change this
password: password # change this