1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00

Sync grafana datasource and prometheus scrape intervals.

This commit is contained in:
Igor Goldenberg 2024-07-16 14:28:09 +05:00
parent e818b981f3
commit f66ea73c93

View File

@ -4851,6 +4851,9 @@ grafana_provisioning_datasources: |
'type': 'prometheus',
'access': 'proxy',
'url': ('http://' + prometheus_identifier + ':9090'),
'jsonData': {
'timeInterval': prometheus_config_global_scrape_interval,
}
}] if prometheus_enabled else [])
}}