cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 3516410c151bdd512e1259e6b668156164b5bf82
parent fecf06a43d1eb4dcf175780e42e9c767509053f3
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed,  6 Nov 2024 20:25:51 +0100

Fix datasource

Diffstat:
Mapps/base/victoria-metrics-k8s-stack/dashboards.yaml | 53++++++++++++-----------------------------------------
1 file changed, 12 insertions(+), 41 deletions(-)

diff --git a/apps/base/victoria-metrics-k8s-stack/dashboards.yaml b/apps/base/victoria-metrics-k8s-stack/dashboards.yaml @@ -21788,10 +21788,7 @@ data: "type": "row" }, { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "description": "Green means everything is as expected", "fieldConfig": { "defaults": { @@ -21866,10 +21863,7 @@ data: "pluginVersion": "10.4.0", "targets": [ { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "editorMode": "builder", "expr": "max(count_over_time({app=\"kube-event-exporter\"} | json | namespace = `matrix` | reason = `Failed` | name =~ `.*draupnir-synapse.*` [5m]))", "intervalMs": 1000, @@ -21879,10 +21873,7 @@ data: "refId": "Failed" }, { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "editorMode": "builder", "expr": "count_over_time({app=\"kube-event-exporter\"} | json | namespace = `matrix` | reason = `BackOff` | name =~ `.*draupnir-synapse.*` [5m])", "hide": false, @@ -21897,10 +21888,7 @@ data: "type": "stat" }, { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "description": "Green means everything is as expected", "fieldConfig": { "defaults": { @@ -21975,10 +21963,7 @@ data: "pluginVersion": "10.4.0", "targets": [ { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "editorMode": "builder", "expr": "max(count_over_time({app=\"kube-event-exporter\"} | json | namespace = `matrix` | reason = `Failed` | name =~ `.*draupnir4all.*` [5m]))", "intervalMs": 1000, @@ -21988,10 +21973,7 @@ data: "refId": "Failed" }, { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "editorMode": "builder", "expr": "count_over_time({app=\"kube-event-exporter\"} | json | namespace = `matrix` | reason = `BackOff` | name =~ `.*draupnir4all.*` [5m])", "hide": false, @@ -22019,10 +22001,7 @@ data: "type": "row" }, { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "gridPos": { "h": 8, "w": 24, @@ -22042,10 +22021,7 @@ data: }, "targets": [ { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "editorMode": "builder", "expr": "{app=\"kube-event-exporter\"} | json | namespace = `matrix` | name =~ `.*draupnir-synapse.*`", "queryType": "range", @@ -22056,10 +22032,7 @@ data: "type": "logs" }, { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "gridPos": { "h": 8, "w": 24, @@ -22079,10 +22052,7 @@ data: }, "targets": [ { - "datasource": { - "type": "loki", - "uid": "${DS_LOKI}" - }, + "datasource": "${DS_LOKI}", "editorMode": "builder", "expr": "{app=\"kube-event-exporter\"} | json | namespace = `matrix` | name =~ `.*draupnir4all.*`", "queryType": "range", @@ -25591,7 +25561,8 @@ metadata: annotations: grafana_folder: Postgres data: - postgres.json: "{\n\"annotations\": {\n \"list\": [\n {\n \"builtIn\": 1,\n \"datasource\": \"-- Grafana + postgres.json: + "{\n\"annotations\": {\n \"list\": [\n {\n \"builtIn\": 1,\n \"datasource\": \"-- Grafana --\",\n \"enable\": true,\n \"hide\": true,\n \"iconColor\": \"rgba(0, 211, 255, 1)\",\n \"name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\n }\n ]\n},\n\"description\": \"Performance metrics for Postgres\",\n\"editable\": true,\n\"gnetId\": 455,\n\"graphTooltip\": 0,\n\"id\": 1,\n\"iteration\": 1603191461722,\n\"links\":