Skip to content

Commit

Permalink
fix(Prometheus): fixed prometheus uid (truecharts#27669)
Browse files Browse the repository at this point in the history
**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 <[email protected]>
Co-authored-by: alfi0812 <[email protected]>
  • Loading branch information
spagno and alfi0812 authored Oct 16, 2024
1 parent 2235a32 commit a670c1a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion charts/stable/prowlarr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
70 changes: 35 additions & 35 deletions charts/stable/prowlarr/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -99,7 +99,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -115,7 +115,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -192,7 +192,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -208,7 +208,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -322,7 +322,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"expr": "max(prowlarr_system_health_issues{instance=~\"${prowlarr_instance}\"})",
Expand All @@ -334,7 +334,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"expr": "max(prowlarr_indexer_enabled_total{instance=~\"${prowlarr_instance}\"})",
Expand All @@ -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}\"})",
Expand All @@ -361,7 +361,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -446,7 +446,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -460,7 +460,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -474,7 +474,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -491,7 +491,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -592,7 +592,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -606,7 +606,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "promtheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -623,7 +623,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -705,7 +705,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"expr": "min(prowlarr_indexer_vip_expires_in_seconds)",
Expand All @@ -720,7 +720,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -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)",
Expand All @@ -816,7 +816,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -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)",
Expand All @@ -912,7 +912,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -961,7 +961,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -978,7 +978,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1025,7 +1025,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -1042,7 +1042,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1091,7 +1091,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -1108,7 +1108,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1155,7 +1155,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -1172,7 +1172,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1292,7 +1292,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -1307,7 +1307,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand Down Expand Up @@ -1400,7 +1400,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -1480,7 +1480,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand Down Expand Up @@ -1578,7 +1578,7 @@
},
"datasource": {
"type": "prometheus",
"uid": "prom"
"uid": "prometheus"
},
"definition": "label_values({__name__=~\"prowlarr_.*\"},instance)",
"hide": 0,
Expand Down

0 comments on commit a670c1a

Please sign in to comment.