-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it easier to develop by having different datasources and dashboards
Let's have a prometheus datasource and csv one. For the CSV we will also add CSV file inside the container
- Loading branch information
Showing
6 changed files
with
296 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": 2, | ||
"links": [], | ||
"liveNow": false, | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "grafana-testdata-datasource", | ||
"uid": "a0ce46a5-c7f8-4cec-997c-6314adf138a1" | ||
}, | ||
"gridPos": { | ||
"h": 8, | ||
"w": 12, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 1, | ||
"options": { | ||
"automaticExtents": true, | ||
"extentMax": 10, | ||
"extentMin": -10, | ||
"seriesCountSize": "sm", | ||
"showSeriesCount": false, | ||
"text": "" | ||
}, | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "grafana-testdata-datasource", | ||
"uid": "a0ce46a5-c7f8-4cec-997c-6314adf138a1" | ||
}, | ||
"max": 10, | ||
"min": -5, | ||
"refId": "A", | ||
"scenarioId": "random_walk", | ||
"seriesCount": 10 | ||
} | ||
], | ||
"title": "Demo single", | ||
"type": "ekacnet-cubismgrafana-panel" | ||
} | ||
], | ||
"refresh": "", | ||
"schemaVersion": 39, | ||
"tags": [], | ||
"templating": { | ||
"list": [] | ||
}, | ||
"time": { | ||
"from": "now-6h", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "Single panel dashboard", | ||
"uid": "f930d956-0144-49fb-87dd-9c3d4a558e03", | ||
"version": 2, | ||
"weekStart": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": 3, | ||
"links": [], | ||
"liveNow": false, | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "marcusolsson-csv-datasource", | ||
"uid": "a0ce46a5-c7f8-4cec-997c-6314adf138a2" | ||
}, | ||
"gridPos": { | ||
"h": 8, | ||
"w": 12, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 1, | ||
"options": { | ||
"automaticExtents": true, | ||
"extentMax": 10, | ||
"extentMin": -10, | ||
"text": "" | ||
}, | ||
"pluginVersion": "10.3.3", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "marcusolsson-csv-datasource", | ||
"uid": "a0ce46a5-c7f8-4cec-997c-6314adf138a2" | ||
}, | ||
"decimalSeparator": ".", | ||
"delimiter": ",", | ||
"header": true, | ||
"ignoreUnknown": true, | ||
"refId": "A", | ||
"schema": [ | ||
{ | ||
"name": "aggregator-668c9957c7-btfgg", | ||
"type": "number" | ||
}, | ||
{ | ||
"name": "Time", | ||
"type": "time" | ||
} | ||
], | ||
"skipRows": 0, | ||
"timezone": "America/Los_Angeles" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "marcusolsson-csv-datasource", | ||
"uid": "a0ce46a5-c7f8-4cec-997c-6314adf138a2" | ||
}, | ||
"decimalSeparator": ".", | ||
"delimiter": ",", | ||
"header": true, | ||
"hide": false, | ||
"ignoreUnknown": true, | ||
"refId": "B", | ||
"schema": [ | ||
{ | ||
"name": "Time", | ||
"type": "time" | ||
}, | ||
{ | ||
"name": "aggregator-7469f76bf4-ddmjm", | ||
"type": "number" | ||
} | ||
], | ||
"skipRows": 0, | ||
"timezone": "America/Los_Angeles" | ||
} | ||
], | ||
"title": "Aggregator CPU", | ||
"type": "ekacnet-cubismgrafana-panel" | ||
} | ||
], | ||
"refresh": false, | ||
"schemaVersion": 39, | ||
"tags": [], | ||
"templating": { | ||
"list": [] | ||
}, | ||
"time": { | ||
"from": "2024-04-17T03:28:45.000Z", | ||
"to": "2024-04-17T05:49:15.000Z" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "K8s PODs", | ||
"uid": "fdc65402-092c-4a87-9dd8-6112d7909fb9", | ||
"version": 4, | ||
"weekStart": "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": 3, | ||
"links": [], | ||
"liveNow": false, | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "aaad26df-aaa4-4734-9904-74004d9a2d78" | ||
}, | ||
"gridPos": { | ||
"h": 8, | ||
"w": 12, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 1, | ||
"options": { | ||
"automaticExtents": false, | ||
"extentMax": 50, | ||
"extentMin": -10, | ||
"text": "" | ||
}, | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "aaad26df-aaa4-4734-9904-74004d9a2d78" | ||
}, | ||
"editorMode": "code", | ||
"expr": "process_cpu_seconds_total", | ||
"instant": false, | ||
"legendFormat": "{{job}}", | ||
"range": true, | ||
"refId": "A" | ||
} | ||
], | ||
"title": "CPU containers", | ||
"type": "ekacnet-cubismgrafana-panel" | ||
} | ||
], | ||
"refresh": "", | ||
"schemaVersion": 39, | ||
"tags": [], | ||
"templating": { | ||
"list": [] | ||
}, | ||
"time": { | ||
"from": "2024-04-17T05:23:05.839Z", | ||
"to": "2024-04-19T05:23:05.839Z" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "CPU", | ||
"uid": "ebcbe55f-f9ab-4f92-ab37-0311a0db5043", | ||
"version": 3, | ||
"weekStart": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters