mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Merge pull request #12820 from AlanCoding/five_seconds
Make the metrics default sampling interval 5s
This commit is contained in:
@@ -17,6 +17,7 @@ work_sign_key_dir: '../_sources/receptor'
|
||||
work_sign_private_keyfile: "{{ work_sign_key_dir }}/work_private_key.pem"
|
||||
work_sign_public_keyfile: "{{ work_sign_key_dir }}/work_public_key.pem"
|
||||
|
||||
# SSO variables
|
||||
enable_keycloak: false
|
||||
|
||||
enable_ldap: false
|
||||
@@ -28,6 +29,8 @@ ldap_public_key_file: '{{ ldap_cert_dir }}/{{ ldap_public_key_file_name }}'
|
||||
ldap_private_key_file: '{{ ldap_cert_dir }}/{{ ldap_private_key_file_name }}'
|
||||
ldap_cert_subject: "/C=US/ST=NC/L=Durham/O=awx/CN="
|
||||
|
||||
# Metrics
|
||||
enable_splunk: false
|
||||
enable_grafana: false
|
||||
enable_prometheus: false
|
||||
scrape_interval: '5s'
|
||||
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user