summaryrefslogtreecommitdiffstats
path: root/ansible
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-16 13:37:25 +0200
commitfb661ce7716c43be3c6e8b86622e5934388e3e30 (patch)
tree4991965767a730dcce22ca448cd67649208e88b9 /ansible
parentcef078ddcc296ddb357418f551e934c3ab5d2b34 (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>
Diffstat (limited to 'ansible')
-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
+}