fix(grafana): provision data sources with static uids
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
3cf0f553b6
commit
c247ba5f27
@@ -9,6 +9,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./log-analyser/grafana:/var/lib/grafana
|
- ./log-analyser/grafana:/var/lib/grafana
|
||||||
- ./log-analyser/grafana-provisioning/dashboards/:/etc/grafana/provisioning/dashboards/
|
- ./log-analyser/grafana-provisioning/dashboards/:/etc/grafana/provisioning/dashboards/
|
||||||
|
- ./log-analyser/grafana-provisioning/datasources/:/etc/grafana/provisioning/datasources/
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: 1
|
|||||||
|
|
||||||
datasources:
|
datasources:
|
||||||
- name: Loki
|
- name: Loki
|
||||||
isDefault: true
|
|
||||||
type: loki
|
type: loki
|
||||||
|
uid: a4bdfb3e-762a-46e5-a79f-2e7bbe88d444
|
||||||
access: proxy
|
access: proxy
|
||||||
url: http://loki:3100
|
url: http://loki:3100
|
||||||
editable: true
|
editable: true
|
||||||
@@ -11,9 +11,9 @@ datasources:
|
|||||||
|
|
||||||
- name: Prometheus
|
- name: Prometheus
|
||||||
type: prometheus
|
type: prometheus
|
||||||
|
uid: d301145e-8c4e-4027-bf6e-43e81f095020
|
||||||
access: proxy
|
access: proxy
|
||||||
url: http://prometheus:9090
|
url: http://prometheus:9090
|
||||||
isDefault: true
|
|
||||||
editable: true
|
editable: true
|
||||||
jsonData:
|
jsonData:
|
||||||
timeInterval: "5s"
|
timeInterval: "5s"
|
||||||
|
|||||||
Reference in New Issue
Block a user