mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 02:37:31 +01:00
Merge pull request #3412 from igogold/grafana-fix
Sync grafana datasource and prometheus scrape intervals.
This commit is contained in:
commit
9ab6b6529a
@ -4851,6 +4851,9 @@ grafana_provisioning_datasources: |
|
|||||||
'type': 'prometheus',
|
'type': 'prometheus',
|
||||||
'access': 'proxy',
|
'access': 'proxy',
|
||||||
'url': ('http://' + prometheus_identifier + ':9090'),
|
'url': ('http://' + prometheus_identifier + ':9090'),
|
||||||
|
'jsonData': {
|
||||||
|
'timeInterval': prometheus_config_global_scrape_interval,
|
||||||
|
}
|
||||||
}] if prometheus_enabled else [])
|
}] if prometheus_enabled else [])
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user