Merge pull request #232 from igogold/grafana-fix

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

View file

@ -60,6 +60,8 @@ grafana_provisioning_datasources:
type: prometheus
access: proxy
url: "http://{{ prometheus_identifier }}:9090"
jsonData:
timeInterval: "{{ prometheus_config_global_scrape_interval }}"
# Enable below if connecting to a remote instance that uses Basic Auth.
# basicAuth: true
# basicAuthUser: loki