Sync grafana datasource and prometheus scrape intervals.

This commit is contained in:
Igor Goldenberg 2024-07-16 14:42:13 +05:00
parent ba81576eee
commit dc2b494ea8

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