summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-09-16 13:37:25 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-09-17 07:23:34 +0000
commit5d265491f9aa0e0a5cd8d7fbcf203bbebc5b7d6d (patch)
treeecffbf6e229c174e4516bf70ae3c7cedfe5dba11
parent8a9b26376e12b80175e059792b4a135623acfb1a (diff)
[ANSIBLE] Add custom Grafana Home dashboard JSON model
Change-Id: I19acd32cacd0248b72b2887850ca9f082b8933d5 Issue-ID: OOM-2833 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--ansible/roles/kube-prometheus-stack/files/grafana_home.json126
1 files changed, 126 insertions, 0 deletions
diff --git a/ansible/roles/kube-prometheus-stack/files/grafana_home.json b/ansible/roles/kube-prometheus-stack/files/grafana_home.json
new file mode 100644
index 00000000..bfce2930
--- /dev/null
+++ b/ansible/roles/kube-prometheus-stack/files/grafana_home.json
@@ -0,0 +1,126 @@
+{
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": "-- Grafana --",
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "target": {
+ "limit": 100,
+ "matchAny": false,
+ "tags": [],
+ "type": "dashboard"
+ },
+ "type": "dashboard"
+ }
+ ]
+ },
+ "editable": true,
+ "gnetId": null,
+ "graphTooltip": 0,
+ "id": 28,
+ "links": [],
+ "panels": [
+ {
+ "datasource": null,
+ "description": "",
+ "gridPos": {
+ "h": 13,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 4,
+ "options": {
+ "folderId": 1,
+ "maxItems": 10,
+ "query": "",
+ "showHeadings": true,
+ "showRecentlyViewed": true,
+ "showSearch": false,
+ "showStarred": true,
+ "tags": []
+ },
+ "pluginVersion": "8.1.0",
+ "title": "Dashboards",
+ "type": "dashlist"
+ },
+ {
+ "datasource": null,
+ "description": "",
+ "gridPos": {
+ "h": 4,
+ "w": 24,
+ "x": 0,
+ "y": 13
+ },
+ "id": 2,
+ "options": {
+ "alertName": "",
+ "dashboardAlerts": false,
+ "dashboardTitle": "",
+ "folderId": null,
+ "maxItems": 10,
+ "showOptions": "current",
+ "sortOrder": 1,
+ "stateFilter": {
+ "alerting": false,
+ "execution_error": false,
+ "no_data": false,
+ "ok": false,
+ "paused": false,
+ "pending": false
+ },
+ "tags": []
+ },
+ "pluginVersion": "8.1.0",
+ "title": "Alert list",
+ "type": "alertlist"
+ }
+ ],
+ "refresh": "",
+ "schemaVersion": 30,
+ "style": "dark",
+ "tags": [],
+ "templating": {
+ "list": []
+ },
+ "time": {
+ "from": "now-6h",
+ "to": "now"
+ },
+ "timepicker": {
+ "hidden": true,
+ "refresh_intervals": [
+ "5s",
+ "10s",
+ "30s",
+ "1m",
+ "5m",
+ "15m",
+ "30m",
+ "1h",
+ "2h",
+ "1d"
+ ],
+ "time_options": [
+ "5m",
+ "15m",
+ "1h",
+ "6h",
+ "12h",
+ "24h",
+ "2d",
+ "7d",
+ "30d"
+ ],
+ "type": "timepicker"
+ },
+ "timezone": "browser",
+ "title": "Home",
+ "uid": "RtXDCwI7z",
+ "version": 5
+}