update dashboards

This commit is contained in:
2025-01-05 18:11:58 -06:00
parent 2f0abd5a44
commit e57e88d706
2 changed files with 34 additions and 20 deletions

View File

@@ -444,6 +444,5 @@
"timezone": "browser", "timezone": "browser",
"title": "Radarr", "title": "Radarr",
"uid": "2a6acbba669631b2f359bd9e2ce84162", "uid": "2a6acbba669631b2f359bd9e2ce84162",
"version": 3,
"weekStart": "" "weekStart": ""
} }

View File

@@ -69,7 +69,7 @@
"orientation": "horizontal", "orientation": "horizontal",
"percentChangeColorMode": "standard", "percentChangeColorMode": "standard",
"reduceOptions": { "reduceOptions": {
"calcs": ["mean"], "calcs": ["lastNotNull"],
"fields": "", "fields": "",
"values": false "values": false
}, },
@@ -141,7 +141,7 @@
"orientation": "horizontal", "orientation": "horizontal",
"percentChangeColorMode": "standard", "percentChangeColorMode": "standard",
"reduceOptions": { "reduceOptions": {
"calcs": ["mean"], "calcs": ["lastNotNull"],
"fields": "", "fields": "",
"values": false "values": false
}, },
@@ -156,7 +156,8 @@
"type": "prometheus", "type": "prometheus",
"uid": "prometheus" "uid": "prometheus"
}, },
"expr": "sonarr_series_monitored_total{namespace=\"$namespace\"}", "editorMode": "code",
"expr": "sum(sonarr_series_monitored_total{namespace=\"$namespace\"}) by (namespace)",
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "Monitored", "legendFormat": "Monitored",
@@ -167,9 +168,11 @@
"type": "prometheus", "type": "prometheus",
"uid": "prometheus" "uid": "prometheus"
}, },
"expr": "sonarr_series_total{namespace=\"$namespace\"}", "editorMode": "code",
"expr": "sum(sonarr_series_total{namespace=\"$namespace\"}) by (namespace)",
"interval": "", "interval": "",
"legendFormat": "Total", "legendFormat": "Total",
"range": true,
"refId": "B" "refId": "B"
} }
], ],
@@ -211,7 +214,7 @@
"orientation": "horizontal", "orientation": "horizontal",
"percentChangeColorMode": "standard", "percentChangeColorMode": "standard",
"reduceOptions": { "reduceOptions": {
"calcs": ["mean"], "calcs": ["lastNotNull"],
"fields": "", "fields": "",
"values": false "values": false
}, },
@@ -226,7 +229,8 @@
"type": "prometheus", "type": "prometheus",
"uid": "prometheus" "uid": "prometheus"
}, },
"expr": "sonarr_season_monitored_total{namespace=\"$namespace\"}", "editorMode": "code",
"expr": "sum(sonarr_season_monitored_total{namespace=\"$namespace\"}) by (namespace)",
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "Monitored", "legendFormat": "Monitored",
@@ -237,9 +241,11 @@
"type": "prometheus", "type": "prometheus",
"uid": "prometheus" "uid": "prometheus"
}, },
"expr": "sonarr_season_total{namespace=\"$namespace\"}", "editorMode": "code",
"expr": "sum(sonarr_season_total{namespace=\"$namespace\"}) by (namespace)",
"interval": "", "interval": "",
"legendFormat": "Total", "legendFormat": "Total",
"range": true,
"refId": "B" "refId": "B"
} }
], ],
@@ -281,7 +287,7 @@
"orientation": "horizontal", "orientation": "horizontal",
"percentChangeColorMode": "standard", "percentChangeColorMode": "standard",
"reduceOptions": { "reduceOptions": {
"calcs": ["mean"], "calcs": ["lastNotNull"],
"fields": "", "fields": "",
"values": false "values": false
}, },
@@ -296,7 +302,8 @@
"type": "prometheus", "type": "prometheus",
"uid": "prometheus" "uid": "prometheus"
}, },
"expr": "sonarr_episode_downloaded_total{namespace=\"$namespace\"}", "editorMode": "code",
"expr": "sum(sonarr_episode_downloaded_total{namespace=\"$namespace\"}) by (namespace)",
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "Downloaded", "legendFormat": "Downloaded",
@@ -307,9 +314,11 @@
"type": "prometheus", "type": "prometheus",
"uid": "prometheus" "uid": "prometheus"
}, },
"expr": "sonarr_episode_total{namespace=\"$namespace\"}", "editorMode": "code",
"expr": "sum(sonarr_episode_total{namespace=\"$namespace\"}) by (namespace)",
"interval": "", "interval": "",
"legendFormat": "Total", "legendFormat": "Total",
"range": true,
"refId": "B" "refId": "B"
}, },
{ {
@@ -317,9 +326,11 @@
"type": "prometheus", "type": "prometheus",
"uid": "prometheus" "uid": "prometheus"
}, },
"expr": "sonarr_episode_missing_total{namespace=\"$namespace\"}", "editorMode": "code",
"expr": "sum(sonarr_episode_missing_total{namespace=\"$namespace\"}) by (namespace)",
"interval": "", "interval": "",
"legendFormat": "Missing", "legendFormat": "Missing",
"range": true,
"refId": "C" "refId": "C"
} }
], ],
@@ -375,7 +386,7 @@
"orientation": "horizontal", "orientation": "horizontal",
"percentChangeColorMode": "standard", "percentChangeColorMode": "standard",
"reduceOptions": { "reduceOptions": {
"calcs": ["mean"], "calcs": ["lastNotNull"],
"fields": "", "fields": "",
"values": false "values": false
}, },
@@ -391,10 +402,10 @@
"uid": "prometheus" "uid": "prometheus"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sonarr_series_filesize_bytes{namespace=\"$namespace\"}", "expr": "sum(sonarr_series_filesize_bytes{namespace=\"$namespace\"}) by (namespace)",
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "{{job}}", "legendFormat": "__auto",
"refId": "A" "refId": "A"
} }
], ],
@@ -437,7 +448,7 @@
"orientation": "horizontal", "orientation": "horizontal",
"percentChangeColorMode": "standard", "percentChangeColorMode": "standard",
"reduceOptions": { "reduceOptions": {
"calcs": ["mean"], "calcs": ["lastNotNull"],
"fields": "", "fields": "",
"values": false "values": false
}, },
@@ -453,10 +464,10 @@
"uid": "prometheus" "uid": "prometheus"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "sonarr_rootfolder_freespace_bytes{namespace=\"$namespace\"}", "expr": "sum(sonarr_rootfolder_freespace_bytes{namespace=\"$namespace\"}) by (namespace)",
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "{{ job }}", "legendFormat": "__auto",
"refId": "A" "refId": "A"
} }
], ],
@@ -490,11 +501,16 @@
"value": "sonarr4" "value": "sonarr4"
}, },
"datasource": "${DS_PROMETHEUS}", "datasource": "${DS_PROMETHEUS}",
"definition": "label_values(sonarr_system_status,namespace)",
"includeAll": false, "includeAll": false,
"label": "Instance", "label": "Instance",
"name": "namespace", "name": "namespace",
"options": [], "options": [],
"query": "label_values(namespace)", "query": {
"qryType": 1,
"query": "label_values(sonarr_system_status,namespace)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1, "refresh": 1,
"regex": "", "regex": "",
"type": "query" "type": "query"
@@ -509,6 +525,5 @@
"timezone": "browser", "timezone": "browser",
"title": "Sonarr", "title": "Sonarr",
"uid": "f28ecb46adfc02a0262e3d4c9b77fed0", "uid": "f28ecb46adfc02a0262e3d4c9b77fed0",
"version": 2,
"weekStart": "" "weekStart": ""
} }