diff options
Diffstat (limited to 'tools/prometheus/prometheus.yml.example')
-rw-r--r-- | tools/prometheus/prometheus.yml.example | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/prometheus/prometheus.yml.example b/tools/prometheus/prometheus.yml.example new file mode 100644 index 0000000000..810bb56db0 --- /dev/null +++ b/tools/prometheus/prometheus.yml.example @@ -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 |