From 5d265491f9aa0e0a5cd8d7fbcf203bbebc5b7d6d Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 16 Sep 2021 13:37:25 +0200 Subject: [ANSIBLE] Add custom Grafana Home dashboard JSON model Change-Id: I19acd32cacd0248b72b2887850ca9f082b8933d5 Issue-ID: OOM-2833 Signed-off-by: Bartek Grzybowski --- .../kube-prometheus-stack/files/grafana_home.json | 126 +++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 ansible/roles/kube-prometheus-stack/files/grafana_home.json (limited to 'ansible/roles/kube-prometheus-stack/files/grafana_home.json') 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 +} -- cgit 1.2.3-korg