{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": false, "graphTooltip": 0, "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 6, "panels": [], "title": "Show Information", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(255, 255, 255)" } ] } }, "overrides": [] }, "gridPos": { "h": 16, "w": 5, "x": 0, "y": 1 }, "id": 16, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "expr": "sonarr_queue_total{namespace=\"$namespace\"} OR on() vector(0)", "instant": true, "interval": "", "legendFormat": "Queued", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_episode_missing_total{namespace=\"$namespace\"}) by (namespace)", "hide": false, "instant": true, "interval": "", "legendFormat": "Missing", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_history_total{namespace=\"$namespace\"}) by (namespace)", "hide": false, "instant": false, "legendFormat": "Completed", "range": true, "refId": "C" } ], "title": "Downloads", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(255, 255, 255)" } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 5, "x": 5, "y": 1 }, "id": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_series_monitored_total{namespace=\"$namespace\"}) by (namespace)", "instant": false, "interval": "", "legendFormat": "Monitored", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_series_total{namespace=\"$namespace\"}) by (namespace)", "interval": "", "legendFormat": "Total", "range": true, "refId": "B" } ], "title": "Series", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(255, 255, 255)" } ] } }, "overrides": [] }, "gridPos": { "h": 6, "w": 5, "x": 5, "y": 6 }, "id": 15, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_season_monitored_total{namespace=\"$namespace\"}) by (namespace)", "instant": false, "interval": "", "legendFormat": "Monitored", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_season_total{namespace=\"$namespace\"}) by (namespace)", "interval": "", "legendFormat": "Total", "range": true, "refId": "B" } ], "title": "Seasons", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(255, 255, 255)" } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 5, "x": 5, "y": 12 }, "id": 14, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_episode_downloaded_total{namespace=\"$namespace\"}) by (namespace)", "instant": false, "interval": "", "legendFormat": "Downloaded", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_episode_total{namespace=\"$namespace\"}) by (namespace)", "interval": "", "legendFormat": "Total", "range": true, "refId": "B" } ], "title": "Episodes", "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 17 }, "id": 12, "panels": [], "title": "Storage", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(255, 255, 255)" } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 5, "w": 10, "x": 0, "y": 18 }, "id": 10, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_series_filesize_bytes{namespace=\"$namespace\"}) by (namespace)", "instant": false, "interval": "", "legendFormat": "__auto", "refId": "A" } ], "title": "Storage Used", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(255, 255, 255)" } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 5, "w": 9, "x": 10, "y": 18 }, "id": 13, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "12.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(sonarr_rootfolder_freespace_bytes{namespace=\"$namespace\"}) by (namespace)", "instant": false, "interval": "", "legendFormat": "__auto", "refId": "A" } ], "title": "Storage Available", "type": "stat" } ], "preload": true, "tags": ["apps"], "templating": { "list": [ { "current": { "text": "Prometheus", "value": "kube-prometheus-stack" }, "includeAll": false, "label": "Datasource", "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "type": "datasource" }, { "current": { "text": "sonarr", "value": "sonarr" }, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(sonarr_system_status,namespace)", "includeAll": false, "label": "Instance", "name": "namespace", "options": [], "query": { "qryType": 1, "query": "label_values(sonarr_system_status,namespace)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" } ] }, "time": { "from": "now-24h", "to": "now" }, "timezone": "browser", "title": "Sonarr", "uid": "f28ecb46adfc02a0262e3d4c9b77fed0", "version": 10 }