{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": false, "graphTooltip": 0, "panels": [ { "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 8, "y": 0 }, "id": 27, "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "
\n

Uptime

\n[[instance]]
", "mode": "html" }, "pluginVersion": "12.4.2", "title": "", "transparent": true, "type": "text" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "How long unpackerr has been running", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-blue", "value": 0 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 12, "y": 0 }, "id": 18, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "value", "wideLayout": true }, "pluginVersion": "12.4.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "unpackerr_uptime_seconds_total{instance=\"$instance\"}", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "", "transparent": true, "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 3 }, "id": 10, "panels": [], "title": "Queues", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "Contains counts for all Unpackerr queue gauges. As items progress through the queue, they transition from one of these states to another.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "always", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 4 }, "id": 1, "interval": "1m", "options": { "legend": { "calcs": [ "last" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } }, "pluginVersion": "12.4.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "unpackerr_gauges{instance=\"$instance\"}", "legendFormat": "{{name}}", "range": true, "refId": "A" } ], "title": "Queue Gauges", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "Displays totals for all Unpackerr queue counters. Contains command hooks, web hooks, finished and retried extraction counts.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "always", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 4 }, "id": 2, "interval": "1m", "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } }, "pluginVersion": "12.4.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "sum by(name) (unpackerr_counters{instance=\"$instance\"})", "legendFormat": "{{name}}", "range": true, "refId": "A" } ], "title": "Queue Counters", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "Shows the number of items in the activity queue for each starr app that Unpackerr is polling.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 1, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 12 }, "id": 4, "interval": "1m", "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } }, "pluginVersion": "12.4.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "sum by(app, url) (unpackerr_app_queue_size{instance=\"$instance\"})", "legendFormat": "{{url}}", "range": true, "refId": "A" } ], "title": "Starr Queues", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "Contains channel buffer sizes. Under normal conditions these are always zero, or very close to zero.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "always", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 12 }, "id": 3, "interval": "1m", "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } }, "pluginVersion": "12.4.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "unpackerr_buffers{instance=\"$instance\"}", "legendFormat": "{{name}}", "range": true, "refId": "A" } ], "title": "Queue Buffers", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 20 }, "id": 6, "panels": [], "title": "Starr API Response Times", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "Visualization of API responses times from [[starrUrl]] and also includes request + error counts.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 41, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 11, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [ { "matcher": { "id": "byName", "options": "Requests" }, "properties": [ { "id": "custom.axisPlacement", "value": "hidden" }, { "id": "unit", "value": "none" }, { "id": "custom.drawStyle", "value": "line" }, { "id": "decimals", "value": 0 }, { "id": "custom.hideFrom", "value": { "legend": true, "tooltip": false, "viz": false } } ] }, { "matcher": { "id": "byName", "options": "Errors" }, "properties": [ { "id": "color", "value": { "fixedColor": "dark-red", "mode": "fixed" } }, { "id": "custom.drawStyle", "value": "bars" }, { "id": "unit", "value": "none" }, { "id": "custom.axisPlacement", "value": "hidden" }, { "id": "custom.hideFrom", "value": { "legend": true, "tooltip": false, "viz": false } }, { "id": "custom.fillOpacity", "value": 100 } ] } ] }, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 21 }, "id": 5, "interval": "$interval", "maxPerRow": 2, "options": { "legend": { "calcs": [ "mean" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "timezone": [ "" ], "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "9.5.2", "repeat": "starrUrl", "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "unpackerr_app_queue_fetch_time_seconds{url=\"$starrUrl\", instance=\"$instance\"}", "legendFormat": "{{app}} {{url}}", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "exemplar": false, "expr": "increase(unpackerr_app_queue_fetch_total{url=\"$starrUrl\", instance=\"$instance\"}[$__rate_interval])", "instant": false, "interval": "$interval", "legendFormat": "Requests", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "increase(unpackerr_app_queue_fetch_errors_total{url=\"$starrUrl\", instance=\"$instance\"}[$__rate_interval])", "interval": "$interval", "legendFormat": "Errors", "range": true, "refId": "C" } ], "title": "API Responses: [[starrUrl]]", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 28 }, "id": 14, "panels": [], "repeat": "source", "title": "Xtracts: [[source]]", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "This is how many bytes have been written from extracted archives via source: [[source]]", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-purple" } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 4, "x": 0, "y": 29 }, "id": 23, "interval": "1m", "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "9.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "unpackerr_bytes_written_total{instance=\"$instance\", url=\"$source\"}", "legendFormat": "{{url}}", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "refId": "B" } ], "title": "Bytes Written", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "This is how many archive files (rar/zip/etc) that have been extracted via source: [[source]]", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-purple" } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 8, "w": 4, "x": 4, "y": 29 }, "id": 24, "interval": "1m", "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "9.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "unpackerr_archives_read_total{instance=\"$instance\", url=\"$source\"}", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Archives Read", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "This is how many files that have been extracted and written to disk via source: [[source]]", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-purple" } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 8, "w": 4, "x": 8, "y": 29 }, "id": 25, "interval": "1m", "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "9.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "unpackerr_files_extracted_total{instance=\"$instance\", url=\"$source\"}", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "FIles Extracted", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "description": "This histogram depicts the duration of each extraction. Each extraction generally represents 1 item in a starr app, or 1 folder in a folder watcher. This may include any number of archives. Via source: [[source]]", "fieldConfig": { "defaults": { "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "scaleDistribution": { "type": "linear" } } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 29 }, "id": 26, "interval": "1m", "options": { "calculate": false, "cellGap": 1, "color": { "exponent": 0.5, "fill": "dark-orange", "max": 16, "min": 1, "mode": "scheme", "reverse": false, "scale": "exponential", "scheme": "Purples", "steps": 16 }, "exemplars": { "color": "rgba(255,0,255,0.7)" }, "filterValues": { "le": 1e-9 }, "legend": { "show": true }, "rowsFrame": { "layout": "ge" }, "tooltip": { "show": true, "yHistogram": false }, "yAxis": { "axisPlacement": "left", "reverse": false, "unit": "s" } }, "pluginVersion": "9.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "editorMode": "builder", "expr": "increase(unpackerr_extract_time_seconds_bucket{instance=\"$instance\", url=\"$source\"}[$__rate_interval])", "format": "heatmap", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Extraction Duration: [[source]]", "type": "heatmap" } ], "preload": true, "tags": ["platform", "servarr", "qbitorrent"], "templating": { "list": [ { "current": { "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "definition": "label_values(unpackerr_app_queue_size{instance=\"$instance\"},url)", "description": "This only includes urls for starr apps, not folders.", "hide": 2, "includeAll": true, "name": "starrUrl", "options": [], "query": { "query": "label_values(unpackerr_app_queue_size{instance=\"$instance\"},url)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "regexApplyTo": "value", "type": "query" }, { "current": { "text": "", "value": "" }, "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "definition": "label_values(unpackerr_counters,instance)", "description": "Unpackerr instance, just in case you run multiple.", "includeAll": false, "label": "Unpackerr", "name": "instance", "options": [], "query": { "query": "label_values(unpackerr_counters,instance)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "regexApplyTo": "value", "sort": 1, "type": "query" }, { "current": { "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, "definition": "label_values(unpackerr_archives_read_total{instance=\"$instance\"},url)", "description": "This url is populated by \"apps\" (and folders) that have had items extracted.", "hide": 2, "includeAll": true, "name": "source", "options": [], "query": { "query": "label_values(unpackerr_archives_read_total{instance=\"$instance\"},url)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "regexApplyTo": "value", "type": "query" }, { "current": { "text": "2m", "value": "2m" }, "description": "Set this to your unpackerr poll interval.", "includeAll": false, "label": "Poll Interval", "name": "interval", "options": [], "query": "15s,30s,1m,90s,2m,3m,4m,5m,10m,15m,30m", "type": "custom", "valuesFormat": "csv" } ] }, "time": { "from": "now-24h", "to": "now" }, "timezone": "browser", "title": "Unpackerr", "uid": "facc95c7-4a7c-4256-9378-4cc2b12e9045" }