Add explicit UIDs to Grafana datasources
Alert rules reference datasourceUid: prometheus/loki which requires explicit UIDs in the provisioning config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4751176da9
commit
83243cea31
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ apiVersion: 1
|
||||||
|
|
||||||
datasources:
|
datasources:
|
||||||
- name: Prometheus
|
- name: Prometheus
|
||||||
|
uid: prometheus
|
||||||
type: prometheus
|
type: prometheus
|
||||||
access: proxy
|
access: proxy
|
||||||
url: http://prometheus:9090
|
url: http://prometheus:9090
|
||||||
|
|
@ -9,6 +10,7 @@ datasources:
|
||||||
editable: false
|
editable: false
|
||||||
|
|
||||||
- name: Loki
|
- name: Loki
|
||||||
|
uid: loki
|
||||||
type: loki
|
type: loki
|
||||||
access: proxy
|
access: proxy
|
||||||
url: http://loki:3100
|
url: http://loki:3100
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue