@@ -10,41 +10,45 @@ deleteDatasources:
1010# whats available in the database
1111datasources :
1212 # <string, required> name of the datasource. Required
13- - name : Prometheus
14- # <string, required> datasource type. Required
15- type : prometheus
16- # <string, required> access mode. direct or proxy. Required
17- access : proxy
18- # <int> org id. will default to orgId 1 if not specified
19- orgId : 1
20- # <string> url
21- url : http://prometheus:9090
22- # <string> database password, if used
23- password :
24- # <string> database user, if used
25- user :
26- # <string> database name, if used
27- database :
28- # <bool> enable/disable basic auth
29- basicAuth : false
30- # <string> basic auth username
31- basicAuthUser : admin
32- # <string> basic auth password
33- basicAuthPassword : admin
34- # <bool> enable/disable with credentials headers
35- withCredentials :
36- # <bool> mark as default datasource. Max one per org
37- isDefault : true
38- # <map> fields that will be converted to json and stored in json_data
39- jsonData :
40- graphiteVersion : " 1.1"
41- tlsAuth : false
42- tlsAuthWithCACert : false
43- # <string> json object of data that will be encrypted.
44- secureJsonData :
45- tlsCACert : " ..."
46- tlsClientCert : " ..."
47- tlsClientKey : " ..."
48- version : 1
49- # <bool> allow users to edit datasources from the UI.
50- editable : true
13+ - name : Prometheus
14+ # The UID below is not set explicitly — Grafana derives it deterministically at provisioning time
15+ # using SHA-256("Prometheus"), taking the first 8 bytes, uppercased with a "P" prefix:
16+ # SHA-256("Prometheus") → bfa97cfb590b2093... → PBFA97CFB590B2093
17+ # Renaming this datasource would change the UID and break all dashboard/alert references.
18+ # <string, required> datasource type. Required
19+ type : prometheus
20+ # <string, required> access mode. direct or proxy. Required
21+ access : proxy
22+ # <int> org id. will default to orgId 1 if not specified
23+ orgId : 1
24+ # <string> url
25+ url : http://prometheus:9090
26+ # <string> database password, if used
27+ password :
28+ # <string> database user, if used
29+ user :
30+ # <string> database name, if used
31+ database :
32+ # <bool> enable/disable basic auth
33+ basicAuth : false
34+ # <string> basic auth username
35+ basicAuthUser : admin
36+ # <string> basic auth password
37+ basicAuthPassword : admin
38+ # <bool> enable/disable with credentials headers
39+ withCredentials :
40+ # <bool> mark as default datasource. Max one per org
41+ isDefault : true
42+ # <map> fields that will be converted to json and stored in json_data
43+ jsonData :
44+ graphiteVersion : " 1.1"
45+ tlsAuth : false
46+ tlsAuthWithCACert : false
47+ # <string> json object of data that will be encrypted.
48+ secureJsonData :
49+ tlsCACert : " ..."
50+ tlsClientCert : " ..."
51+ tlsClientKey : " ..."
52+ version : 1
53+ # <bool> allow users to edit datasources from the UI.
54+ editable : true
0 commit comments