From a670c1ab529c829b2e303377c465dbfd62c4a42c Mon Sep 17 00:00:00 2001 From: spagno Date: Wed, 16 Oct 2024 09:46:54 +0200 Subject: [PATCH] fix(Prometheus): fixed prometheus uid (#27669) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** The prowlarr's grafana's dashboard doesn't work as expected. A lot of query errors and no panels have data **โš™๏ธ Type of change** - [ ] โš™๏ธ Feature/App addition - [x] ๐Ÿช› Bugfix - [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] ๐Ÿ”ƒ Refactor of current code **๐Ÿงช How Has This Been Tested?** I created a new configMap with the fixed json and it works --------- Signed-off-by: alfi0812 <43101280+alfi0812@users.noreply.github.com> Co-authored-by: alfi0812 <43101280+alfi0812@users.noreply.github.com> --- charts/stable/prowlarr/Chart.yaml | 2 +- charts/stable/prowlarr/dashboard.json | 70 +++++++++++++-------------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/charts/stable/prowlarr/Chart.yaml b/charts/stable/prowlarr/Chart.yaml index 9bf2b8ed6cc..5e4ec19981e 100644 --- a/charts/stable/prowlarr/Chart.yaml +++ b/charts/stable/prowlarr/Chart.yaml @@ -36,4 +36,4 @@ sources: - https://github.com/k8s-at-home/container-images - https://github.com/truecharts/charts/tree/master/charts/stable/prowlarr type: application -version: 18.7.2 +version: 18.7.3 diff --git a/charts/stable/prowlarr/dashboard.json b/charts/stable/prowlarr/dashboard.json index 905280f4b61..eb010f6f7d6 100644 --- a/charts/stable/prowlarr/dashboard.json +++ b/charts/stable/prowlarr/dashboard.json @@ -31,7 +31,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -99,7 +99,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -115,7 +115,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -192,7 +192,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -208,7 +208,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -322,7 +322,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "expr": "max(prowlarr_system_health_issues{instance=~\"${prowlarr_instance}\"})", @@ -334,7 +334,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "expr": "max(prowlarr_indexer_enabled_total{instance=~\"${prowlarr_instance}\"})", @@ -346,7 +346,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "expr": "max(prowlarr_indexer_total{instance=~\"${prowlarr_instance}\"} - prowlarr_indexer_enabled_total{instance=~\"${prowlarr_instance}\"})", @@ -361,7 +361,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -446,7 +446,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -460,7 +460,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -474,7 +474,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -491,7 +491,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -592,7 +592,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -606,7 +606,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "promtheus" }, "editorMode": "code", "exemplar": false, @@ -623,7 +623,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -705,7 +705,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "expr": "min(prowlarr_indexer_vip_expires_in_seconds)", @@ -720,7 +720,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -801,7 +801,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "expr": "max(prowlarr_indexer_average_response_time_ms{instance=~\"${prowlarr_instance}\"}) by (indexer)", @@ -816,7 +816,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -897,7 +897,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "expr": "max(increase(prowlarr_user_agent_queries_total{instance=~\"${prowlarr_instance}\"}[$__rate_interval])) by (user_agent)", @@ -912,7 +912,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -961,7 +961,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -978,7 +978,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1025,7 +1025,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -1042,7 +1042,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1091,7 +1091,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -1108,7 +1108,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1155,7 +1155,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -1172,7 +1172,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1292,7 +1292,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -1307,7 +1307,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -1400,7 +1400,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1480,7 +1480,7 @@ { "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -1578,7 +1578,7 @@ }, "datasource": { "type": "prometheus", - "uid": "prom" + "uid": "prometheus" }, "definition": "label_values({__name__=~\"prowlarr_.*\"},instance)", "hide": 0,