-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdatasource.yml
More file actions
77 lines (73 loc) · 3.27 KB
/
datasource.yml
File metadata and controls
77 lines (73 loc) · 3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# config file version
apiVersion: 1
# list of datasources that should be deleted from the database
deleteDatasources:
- name: Prometheus
orgId: 1
- name: Loki
orgId: 1
datasources:
- name: DS_CLOUDWATCH # name of the datasource
type: cloudwatch # type of the data source
access: proxy # make grafana perform the requests
org_id: 1 # id of the organization to tie this datasource to
url: "" # url of the instance
password: # <string> database password, if used
user: # <string> database user, if used
database: # <string> database name, if used
basicAuth: false # <bool> enable/disable basic auth
basicAuthUser: # <string> basic auth username, if used
basicAuthPassword: # <string> basic auth password, if used
withCredentials: false # <bool> enable/disable with credentials headers
isDefault: true # <bool> mark as default datasource. Max one per org
jsonData: # <map> fields that will be converted to json and stored in json_data
authType: keys
defaultRegion: eu-west-2
editable: true # whether it should be editable
version: 1
- name: "Prometheus" # name of the datasource
type: "prometheus" # type of the data source
access: "proxy" # make grafana perform the requests
org_id: 1 # id of the organization to tie this datasource to
url: "http://prometheus:9090" # url of the prom instance
password: # <string> database password, if used
user: # <string> database user, if used
database: # <string> database name, if used
basicAuth: false # <bool> enable/disable basic auth
basicAuthUser: # <string> basic auth username, if used
basicAuthPassword: # <string> basic auth password, if used
withCredentials: # <bool> enable/disable with credentials headers
isDefault: false # <bool> mark as default datasource. Max one per org
jsonData: # <map> fields that will be converted to json and stored in json_data
graphiteVersion: "1.1"
tlsAuth: false
tlsAuthWithCACert: false
secureJsonData: # <string> json object of data that will be encrypted.
tlsCACert: "..."
tlsClientCert: "..."
tlsClientKey: "..."
editable: true # whether it should be editable
version: 1
- name: "Loki" # name of the datasource
type: "loki" # type of the data source
access: "proxy" # make grafana perform the requests
org_id: 1 # id of the organization to tie this datasource to
url: "http://loki:3100" # url of the instance
password: # <string> database password, if used
user: # <string> database user, if used
database: # <string> database name, if used
basicAuth: false # <bool> enable/disable basic auth
basicAuthUser: # <string> basic auth username, if used
basicAuthPassword: # <string> basic auth password, if used
withCredentials: # <bool> enable/disable with credentials headers
isDefault: false # <bool> mark as default datasource. Max one per org
jsonData: # <map> fields that will be converted to json and stored in json_data
graphiteVersion: "1.1"
tlsAuth: false
tlsAuthWithCACert: false
secureJsonData: # <string> json object of data that will be encrypted.
tlsCACert: "..."
tlsClientCert: "..."
tlsClientKey: "..."
editable: true # whether it should be editable
version: 1