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

Merge pull request #3412 from igogold/grafana-fix

Sync grafana datasource and prometheus scrape intervals.
This commit is contained in:
Slavi Pantaleev 2024-07-16 13:27:28 +03:00 committed by GitHub
commit 9ab6b6529a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 [])
}}