fix(Prometheus): fixed prometheus uid (#27669)

**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>
This commit is contained in:
spagno
2024-10-16 09:46:54 +02:00
committed by GitHub
parent 2235a320de
commit a670c1ab52
2 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -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
+35 -35
View File
@@ -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,