From 5fb44bb0e3b6b27da9c5288b91505ea3254c26e6 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 5 Jan 2025 19:26:35 -0600 Subject: [PATCH] adjust layout --- dashboards/application/radarr.json | 22 ++++++------ dashboards/application/sonarr.json | 56 ++++++++++++++++-------------- 2 files changed, 40 insertions(+), 38 deletions(-) diff --git a/dashboards/application/radarr.json b/dashboards/application/radarr.json index 44baa28..4c9a217 100644 --- a/dashboards/application/radarr.json +++ b/dashboards/application/radarr.json @@ -56,8 +56,8 @@ "overrides": [] }, "gridPos": { - "h": 12, - "w": 4, + "h": 16, + "w": 5, "x": 0, "y": 1 }, @@ -85,7 +85,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(radarr_queue_total{namespace=\"$namespace\"} OR on() vector(0)) by (namespace)", + "expr": "sum(radrr_queue_total{namespace=\"$namespace\"} OR on() vector(0)) by (namespace)", "instant": true, "interval": "", "legendFormat": "Queued", @@ -130,9 +130,9 @@ "overrides": [] }, "gridPos": { - "h": 12, + "h": 16, "w": 4, - "x": 4, + "x": 5, "y": 1 }, "id": 8, @@ -217,9 +217,9 @@ "overrides": [] }, "gridPos": { - "h": 12, - "w": 8, - "x": 8, + "h": 16, + "w": 7, + "x": 9, "y": 1 }, "id": 4, @@ -267,7 +267,7 @@ "h": 1, "w": 24, "x": 0, - "y": 13 + "y": 17 }, "id": 12, "panels": [], @@ -300,7 +300,7 @@ "h": 5, "w": 8, "x": 0, - "y": 14 + "y": 18 }, "id": 10, "options": { @@ -362,7 +362,7 @@ "h": 5, "w": 8, "x": 8, - "y": 14 + "y": 18 }, "id": 13, "options": { diff --git a/dashboards/application/sonarr.json b/dashboards/application/sonarr.json index 68291c8..d9d8b51 100644 --- a/dashboards/application/sonarr.json +++ b/dashboards/application/sonarr.json @@ -56,8 +56,8 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 4, + "h": 16, + "w": 5, "x": 0, "y": 1 }, @@ -95,12 +95,26 @@ "type": "prometheus", "uid": "prometheus" }, - "expr": "sonarr_history_total{namespace=\"$namespace\"}", + "editorMode": "code", + "expr": "sum(sonarr_episode_missing_total{namespace=\"$namespace\"}) by (namespace)", "hide": false, "instant": true, "interval": "", - "legendFormat": "Completed", + "legendFormat": "Missing", "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "sum(sonarr_history_total{namespace=\"$namespace\"}) by (namespace)", + "hide": false, + "instant": false, + "legendFormat": "Completed", + "range": true, + "refId": "C" } ], "title": "Downloads", @@ -128,9 +142,9 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 5, "w": 4, - "x": 4, + "x": 5, "y": 1 }, "id": 8, @@ -201,10 +215,10 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 6, "w": 4, - "x": 8, - "y": 1 + "x": 5, + "y": 6 }, "id": 15, "options": { @@ -274,10 +288,10 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 5, "w": 4, - "x": 12, - "y": 1 + "x": 5, + "y": 12 }, "id": 14, "options": { @@ -320,18 +334,6 @@ "legendFormat": "Total", "range": true, "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "expr": "sum(sonarr_episode_missing_total{namespace=\"$namespace\"}) by (namespace)", - "interval": "", - "legendFormat": "Missing", - "range": true, - "refId": "C" } ], "title": "Episodes", @@ -343,7 +345,7 @@ "h": 1, "w": 24, "x": 0, - "y": 9 + "y": 17 }, "id": 12, "panels": [], @@ -376,7 +378,7 @@ "h": 5, "w": 8, "x": 0, - "y": 10 + "y": 18 }, "id": 10, "options": { @@ -438,7 +440,7 @@ "h": 5, "w": 8, "x": 8, - "y": 10 + "y": 18 }, "id": 13, "options": {