Skip to content
Snippets Groups Projects
Verified Commit 9e3e3a39 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

grafana: set timeInterval to 1m for Prometheus DSs

It needs to match Prometheus' scrape_interval setting, so
$__rate_interval does not drop below the minimum interval.
parent 1220c972
No related branches found
No related tags found
No related merge requests found
Pipeline #86985 passed
......@@ -7,6 +7,8 @@ datasources:
access: proxy
basicAuth: true
basicAuthUser: {{ vault_prometheus_user }}
jsonData:
timeInterval: 1m
secureJsonData:
basicAuthPassword: {{ vault_prometheus_passwd }}
url: http://{{ prometheus_domain }}:9090
......@@ -15,6 +17,8 @@ datasources:
type: prometheus
access: proxy
url: http://localhost:9090
jsonData:
timeInterval: 1m
- name: Loki
type: loki
access: proxy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment