Skip to content

Commit 97e1652

Browse files
authored
Merge pull request #206 from maevsi/feat/grafana/dashboard-folders
feat(grafana): move dashboards into folders
2 parents 2b3019d + 56b4121 commit 97e1652

File tree

5 files changed

+13
-19
lines changed

5 files changed

+13
-19
lines changed

src/production/configurations/grafana/dashboards/grafana.json renamed to src/production/configurations/grafana/dashboards/Infrastructure/Advanced/grafana.json

File renamed without changes.

src/production/configurations/grafana/dashboards/prometheus-2.0.json renamed to src/production/configurations/grafana/dashboards/Infrastructure/Advanced/prometheus-2.0.json

File renamed without changes.

src/production/configurations/grafana/dashboards/redpanda.json renamed to src/production/configurations/grafana/dashboards/Infrastructure/redpanda.json

File renamed without changes.

src/production/configurations/grafana/dashboards/postgres.json renamed to src/production/configurations/grafana/dashboards/Management/kpis.json

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
}
1616
]
1717
},
18-
"description": "Postgres Dashboard",
1918
"editable": true,
2019
"fiscalYearStartMonth": 0,
2120
"graphTooltip": 0,
22-
"id": 2,
21+
"id": 4,
2322
"links": [],
2423
"panels": [
2524
{
@@ -37,8 +36,7 @@
3736
"mode": "absolute",
3837
"steps": [
3938
{
40-
"color": "green",
41-
"value": null
39+
"color": "green"
4240
}
4341
]
4442
}
@@ -69,7 +67,7 @@
6967
"textMode": "auto",
7068
"wideLayout": true
7169
},
72-
"pluginVersion": "11.5.2",
70+
"pluginVersion": "12.0.1",
7371
"targets": [
7472
{
7573
"datasource": {
@@ -140,8 +138,7 @@
140138
"mode": "absolute",
141139
"steps": [
142140
{
143-
"color": "green",
144-
"value": null
141+
"color": "green"
145142
}
146143
]
147144
}
@@ -177,7 +174,7 @@
177174
"xTickLabelRotation": -45,
178175
"xTickLabelSpacing": 0
179176
},
180-
"pluginVersion": "11.5.2",
177+
"pluginVersion": "12.0.1",
181178
"targets": [
182179
{
183180
"datasource": {
@@ -260,8 +257,7 @@
260257
"mode": "absolute",
261258
"steps": [
262259
{
263-
"color": "green",
264-
"value": null
260+
"color": "green"
265261
}
266262
]
267263
}
@@ -288,7 +284,7 @@
288284
"sort": "none"
289285
}
290286
},
291-
"pluginVersion": "11.5.2",
287+
"pluginVersion": "12.0.1",
292288
"targets": [
293289
{
294290
"datasource": {
@@ -338,8 +334,7 @@
338334
"mode": "absolute",
339335
"steps": [
340336
{
341-
"color": "green",
342-
"value": null
337+
"color": "green"
343338
}
344339
]
345340
},
@@ -371,7 +366,7 @@
371366
"textMode": "auto",
372367
"wideLayout": true
373368
},
374-
"pluginVersion": "11.5.2",
369+
"pluginVersion": "12.0.1",
375370
"targets": [
376371
{
377372
"datasource": {
@@ -408,7 +403,7 @@
408403
}
409404
],
410405
"preload": false,
411-
"schemaVersion": 40,
406+
"schemaVersion": 41,
412407
"tags": [],
413408
"templating": {
414409
"list": []
@@ -419,8 +414,7 @@
419414
},
420415
"timepicker": {},
421416
"timezone": "browser",
422-
"title": "Postgres",
417+
"title": "KPIs",
423418
"uid": "de5jb2krazfnkb",
424-
"version": 2,
425-
"weekStart": ""
419+
"version": 3
426420
}

src/production/configurations/grafana/provisioning/dashboards/file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ providers:
1212
# <string> provider type. Default to 'file'
1313
type: file
1414
# <bool> disable dashboard deletion
15-
disableDeletion: false
15+
disableDeletion: true
1616
# <int> how often Grafana will scan for changed dashboards
1717
updateIntervalSeconds: 10
1818
# <bool> allow updating provisioned dashboards from the UI

0 commit comments

Comments
 (0)