1apiVersion: 1
2
3deleteDatasources:
4  - name: gdev-influxdb
5  - name: gdev-influxdb-telegraf
6  - name: gdev-influxdb2
7  - name: gdev-influxdb2-influxql
8  - name: gdev-loki-0.3
9  - name: gdev-loki-0.4
10
11datasources:
12  - name: gdev-graphite
13    type: graphite
14    access: proxy
15    url: http://localhost:8180
16    jsonData:
17      graphiteVersion: "1.1"
18
19  - name: gdev-graphite-1.0
20    type: graphite
21    access: proxy
22    url: http://localhost:8280
23    jsonData:
24      graphiteVersion: "1.0"
25
26  - name: gdev-graphite-0.9
27    type: graphite
28    access: proxy
29    url: http://localhost:8380
30    jsonData:
31      graphiteVersion: "0.9"
32
33  - name: gdev-prometheus
34    type: prometheus
35    access: proxy
36    url: http://localhost:9090
37
38  - name: gdev-slow-prometheus
39    type: prometheus
40    access: proxy
41    url: http://localhost:3011
42
43  - name: gdev-testdata
44    isDefault: true
45    type: testdata
46
47  - name: gdev-influxdb1-influxql
48    type: influxdb
49    access: proxy
50    database: site
51    user: grafana
52    url: http://localhost:8087
53    secureJsonData:
54      password: grafana
55
56  - name: gdev-influxdb-flux
57    type: influxdb
58    access: proxy
59    url: http://localhost:8086
60    user: grafana
61    secureJsonData:
62      token: mytoken
63      password: grafana12345
64    jsonData:
65      version: Flux
66      organization: myorg
67      defaultBucket: mybucket
68
69  - name: gdev-influxdb-influxql
70    type: influxdb
71    access: proxy
72    database: mybucket
73    url: http://localhost:8086
74    jsonData:
75      httpHeaderName1: "Authorization"
76    secureJsonData:
77      httpHeaderValue1: "Token mytoken"
78
79  - name: gdev-opentsdb
80    type: opentsdb
81    access: proxy
82    url: http://localhost:4242
83    jsonData:
84      tsdbResolution: 1
85      tsdbVersion: 1
86
87  - name: gdev-opentsdb-v2.3
88    type: opentsdb
89    access: proxy
90    url: http://localhost:4242
91    jsonData:
92      tsdbResolution: 1
93      tsdbVersion: 3
94
95  - name: gdev-elasticsearch-v2-metrics
96    type: elasticsearch
97    access: proxy
98    database: "[metrics-]YYYY.MM.DD"
99    url: http://localhost:9200
100    jsonData:
101      interval: Daily
102      timeField: "@timestamp"
103      esVersion: 2
104
105  - name: gdev-elasticsearch-v2-logs
106    type: elasticsearch
107    access: proxy
108    database: "[logs-]YYYY.MM.DD"
109    url: http://localhost:9200
110    jsonData:
111      interval: Daily
112      timeField: "@timestamp"
113      esVersion: 2
114
115  - name: gdev-elasticsearch-v5-metrics
116    type: elasticsearch
117    access: proxy
118    database: "[metrics-]YYYY.MM.DD"
119    url: http://localhost:10200
120    jsonData:
121      interval: Daily
122      timeField: "@timestamp"
123      esVersion: 5
124
125  - name: gdev-elasticsearch-v5-logs
126    type: elasticsearch
127    access: proxy
128    database: "[logs-]YYYY.MM.DD"
129    url: http://localhost:10200
130    jsonData:
131      interval: Daily
132      timeField: "@timestamp"
133      esVersion: 5
134
135  - name: gdev-elasticsearch-v56-metrics
136    type: elasticsearch
137    access: proxy
138    database: "[metrics-]YYYY.MM.DD"
139    url: http://localhost:13200
140    jsonData:
141      interval: Daily
142      timeField: "@timestamp"
143      esVersion: 56
144
145  - name: gdev-elasticsearch-v56-logs
146    type: elasticsearch
147    access: proxy
148    database: "[logs-]YYYY.MM.DD"
149    url: http://localhost:13200
150    jsonData:
151      interval: Daily
152      timeField: "@timestamp"
153      esVersion: 56
154
155  - name: gdev-elasticsearch-v6-metrics
156    type: elasticsearch
157    access: proxy
158    database: "[metrics-]YYYY.MM.DD"
159    url: http://localhost:11200
160    jsonData:
161      interval: Daily
162      timeField: "@timestamp"
163      esVersion: 60
164
165  - name: gdev-elasticsearch-v6-logs
166    type: elasticsearch
167    access: proxy
168    database: "[logs-]YYYY.MM.DD"
169    url: http://localhost:11200
170    jsonData:
171      interval: Daily
172      timeField: "@timestamp"
173      esVersion: 60
174
175  - name: gdev-elasticsearch-v6-filebeat
176    type: elasticsearch
177    access: proxy
178    database: "[filebeat-]YYYY.MM.DD"
179    url: http://localhost:11200
180    jsonData:
181      interval: Daily
182      timeField: "@timestamp"
183      esVersion: 60
184
185  - name: gdev-elasticsearch-v7-metrics
186    type: elasticsearch
187    access: proxy
188    database: "[metrics-]YYYY.MM.DD"
189    url: http://localhost:12200
190    jsonData:
191      timeInterval: 10s
192      interval: Daily
193      timeField: "@timestamp"
194      esVersion: 70
195
196  - name: gdev-elasticsearch-v7-logs
197    type: elasticsearch
198    access: proxy
199    database: "[logs-]YYYY.MM.DD"
200    url: http://localhost:12200
201    jsonData:
202      interval: Daily
203      timeField: "@timestamp"
204      esVersion: 70
205
206  - name: gdev-elasticsearch-v7-filebeat
207    type: elasticsearch
208    access: proxy
209    database: "[filebeat-]YYYY.MM.DD"
210    url: http://localhost:12200
211    jsonData:
212      interval: Daily
213      timeField: "@timestamp"
214      esVersion: 70
215      timeInterval: "10s"
216      logMessageField: message
217      logLevelField: fields.level
218
219  - name: gdev-elasticsearch-v7-metricbeat
220    type: elasticsearch
221    access: proxy
222    database: "[metricbeat-]YYYY.MM.DD"
223    url: http://localhost:12200
224    jsonData:
225      interval: Daily
226      timeField: "@timestamp"
227      esVersion: 70
228      timeInterval: "10s"
229
230  - name: gdev-mysql
231    type: mysql
232    url: localhost:3306
233    database: grafana
234    user: grafana
235    secureJsonData:
236      password: password
237
238  - name: gdev-mysql-ds-tests
239    type: mysql
240    url: localhost:3306
241    database: grafana_ds_tests
242    user: grafana
243    secureJsonData:
244      password: password
245
246  - name: gdev-mssql
247    type: mssql
248    url: localhost:1433
249    database: grafana
250    user: grafana
251    secureJsonData:
252      password: Password!
253
254  - name: gdev-mssql-ds-tests
255    type: mssql
256    url: localhost:1433
257    database: grafanatest
258    user: grafana
259    secureJsonData:
260      password: Password!
261
262  - name: gdev-postgres
263    type: postgres
264    url: localhost:5432
265    database: grafana
266    user: grafana
267    secureJsonData:
268      password: password
269    jsonData:
270      sslmode: "disable"
271
272  - name: gdev-postgres-ds-tests
273    type: postgres
274    url: localhost:5432
275    database: grafanadstest
276    user: grafanatest
277    secureJsonData:
278      password: grafanatest
279    jsonData:
280      sslmode: "disable"
281
282  - name: gdev-cloudwatch
283    type: cloudwatch
284    editable: true
285    jsonData:
286      authType: credentials
287      defaultRegion: eu-west-2
288      customMetricsNamespaces: "CWAgent"
289
290  - name: gdev-loki
291    type: loki
292    access: proxy
293    url: http://localhost:3100
294    editable: false
295    jsonData:
296      derivedFields:
297        - name: "traceID"
298          matcherRegex: "traceID=(\\w+)"
299          url: "$${__value.raw}"
300          datasourceUid: gdev-jaeger
301        - name: "traceID"
302          matcherRegex: "traceID=(\\w+)"
303          url: "$${__value.raw}"
304          datasourceUid: gdev-zipkin
305
306  - name: gdev-jaeger
307    type: jaeger
308    uid: gdev-jaeger
309    access: proxy
310    url: http://localhost:16686
311    editable: false
312
313  - name: gdev-zipkin
314    type: zipkin
315    uid: gdev-zipkin
316    access: proxy
317    url: http://localhost:9411
318    editable: false
319
320  - name: gdev-tempo
321    type: tempo
322    uid: gdev-tempo
323    access: proxy
324    url: http://localhost:3101
325    editable: false
326