Files
2025-12-24 13:13:06 -06:00

2018 lines
51 KiB
JSON

{
"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,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 345,
"links": [],
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"0": {
"index": 1,
"text": "DOWN"
},
"1": {
"index": 0,
"text": "UP"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red"
},
{
"color": "green",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 0
},
"id": 12,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"expr": "sum(jellyfin_up)",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"displayName": "Movies",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 4,
"y": 0
},
"id": 13,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"expr": "sum(jellyfin_media_count{type=\"Movie\"})",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Movies",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 9,
"y": 0
},
"id": 14,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"expr": "sum(jellyfin_media_count{type=\"BoxSet\"})",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Collections",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 14,
"y": 0
},
"id": 15,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"expr": "sum(jellyfin_media_count{type=\"Series\"})",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "TV Shows",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 0
},
"id": 16,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"expr": "sum(jellyfin_media_count{type=\"Episode\"})",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "TV Show Episodes",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisPlacement": "auto",
"fillOpacity": 70,
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineWidth": 0,
"spanNulls": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 5
},
"id": 4,
"options": {
"alignValue": "left",
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"mergeValues": true,
"rowHeight": 0.9,
"showValue": "auto",
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"expr": "sum by (user_device, item_index_clean, type) (\n label_replace(\n label_join(\n label_join(\n label_join(\n jellyfin_now_playing_state,\n \"item_index\",\n \" \",\n \"series_season\",\n \"series_episode\"\n ),\n \"full_name\",\n \" - \",\n \"series_title\",\n \"item_index\",\n \"title\"\n ),\n \"user_device\",\n \" - \",\n \"username\",\n \"device\"\n ),\n \"item_index_clean\",\n \"$1\",\n \"full_name\",\n \"^[- ]*(.*?)[- ]*$\"\n )\n)\n",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Now Playing - Movies",
"transformations": [
{
"id": "seriesToRows",
"options": {}
},
{
"id": "extractFields",
"options": {
"keepTime": false,
"replace": false,
"source": "Metric"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNotNull",
"options": {}
},
"fieldName": "user_device"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "calculateField",
"options": {
"alias": "Item",
"mode": "reduceRow",
"reduce": {
"include": [
"item_index_clean"
],
"reducer": "lastNotNull"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Name",
"mode": "reduceRow",
"reduce": {
"include": [
"user_device"
],
"reducer": "lastNotNull"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "Movie"
}
},
"fieldName": "type"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "partitionByValues",
"options": {
"fields": [
"Name"
],
"keepFields": true
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "item_index_clean|Time (.*)"
}
}
},
{
"id": "renameByRegex",
"options": {
"regex": "item_index_clean (.*)",
"renamePattern": "$1"
}
}
],
"type": "state-timeline"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisPlacement": "auto",
"fillOpacity": 70,
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineWidth": 0,
"spanNulls": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 5
},
"id": 21,
"options": {
"alignValue": "left",
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"mergeValues": true,
"rowHeight": 0.9,
"showValue": "auto",
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"expr": "sum by (user_device, item_index_clean, type) (\n label_replace(\n label_join(\n label_join(\n label_join(\n jellyfin_now_playing_state,\n \"item_index\",\n \" \",\n \"series_season\",\n \"series_episode\"\n ),\n \"full_name\",\n \" - \",\n \"series_title\",\n \"item_index\",\n \"title\"\n ),\n \"user_device\",\n \" - \",\n \"username\",\n \"device\"\n ),\n \"item_index_clean\",\n \"$1\",\n \"full_name\",\n \"^[- ]*(.*?)[- ]*$\"\n )\n)\n",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Now Playing - TV Shows",
"transformations": [
{
"id": "seriesToRows",
"options": {}
},
{
"id": "extractFields",
"options": {
"keepTime": false,
"replace": false,
"source": "Metric"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNotNull",
"options": {}
},
"fieldName": "user_device"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "calculateField",
"options": {
"alias": "Item",
"mode": "reduceRow",
"reduce": {
"include": [
"item_index_clean"
],
"reducer": "lastNotNull"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Name",
"mode": "reduceRow",
"reduce": {
"include": [
"user_device"
],
"reducer": "lastNotNull"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "Episode"
}
},
"fieldName": "type"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "partitionByValues",
"options": {
"fields": [
"Name"
],
"keepFields": true
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "item_index_clean|Time (.*)"
}
}
},
{
"id": "renameByRegex",
"options": {
"regex": "item_index_clean (.*)",
"renamePattern": "$1"
}
}
],
"type": "state-timeline"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 15
},
"id": 2,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"enablePagination": true,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(jellyfin_user_active) by (username, client, device, version)",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Clients",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true
},
"includeByName": {},
"indexByName": {
"Time": 0,
"Value": 5,
"client": 2,
"device": 4,
"username": 1,
"version": 3
},
"renameByName": {
"client": "Client",
"device": "Device",
"username": "Username",
"version": "Version"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"fieldConfig": {
"defaults": {
"custom": {
"align": "left",
"cellOptions": {
"type": "auto"
},
"filterable": false,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Total Plays"
},
"properties": [
{
"id": "custom.width",
"value": 150
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 15
},
"id": 17,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"enablePagination": true,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Username"
}
]
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"editorMode": "code",
"exemplar": false,
"expr": "jellyfin_activity_count",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "User Activity",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"__name__": true,
"instance": true,
"job": true,
"total_time": false,
"user_id": true
},
"includeByName": {},
"indexByName": {
"Time": 0,
"Value": 5,
"__name__": 1,
"instance": 2,
"job": 3,
"last_seen": 6,
"total_play_time": 7,
"total_time": 8,
"username": 4
},
"renameByName": {
"Value": "Total Plays",
"last_seen": "Last Seen",
"total_play_time": "Total Time",
"total_time": "Total Time",
"username": "Username"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 23
},
"id": 6,
"panels": [],
"title": "System Charts",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"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": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 1,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 24
},
"id": 7,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(container_memory_usage_bytes{namespace=\"jellyfin\", container=\"main\"})",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"interval": "5m",
"legendFormat": "Main",
"range": true,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(container_memory_usage_bytes{namespace=\"jellyfin\", container=\"meilisearch\"})",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"interval": "30s",
"legendFormat": "Search",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(container_memory_usage_bytes{namespace=\"jellyfin\", container=\"restic\"})",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"interval": "30s",
"legendFormat": "Backup",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Memory Distribution",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Outbound"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 24
},
"id": 10,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_network_receive_bytes_total{namespace=\"jellyfin\", pod=~\"volsync.+\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"legendFormat": "Backup",
"range": true,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_network_receive_bytes_total{namespace=\"jellyfin\", pod=~\"jellyfin-.+\", pod!=\"jellyfin-meilisearch.+\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"legendFormat": "Main",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_network_receive_bytes_total{namespace=\"jellyfin\", pod=~\"jellyfin-meilisearch.+\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"legendFormat": "Search",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Network Traffic (Receive)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Outbound"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 24
},
"id": 23,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_network_transmit_bytes_total{namespace=\"jellyfin\", pod=~\"volsync.+\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"legendFormat": "Backup",
"range": true,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_network_transmit_bytes_total{namespace=\"jellyfin\", pod=~\"jellyfin-.+\", pod!=\"jellyfin-meilisearch.+\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"legendFormat": "Main",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_network_transmit_bytes_total{namespace=\"jellyfin\", pod=~\"jellyfin-meilisearch.+\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"legendFormat": "Search",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Network Traffic (Transmit)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"description": "As percentage of 12 cores on standard computer node.",
"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": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 31
},
"id": 8,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"jellyfin\", container=\"main\"}[$__rate_interval]) * 100 / 12)",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Jellyfin",
"range": true,
"refId": "D",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"jellyfin\", container=\"meilisearch\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "30s",
"legendFormat": "Search",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"jellyfin\", container=\"restic\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "30s",
"legendFormat": "Backup",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "CPU Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"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": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 4,
"scaleDistribution": {
"log": 2,
"type": "log"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binBps"
},
"overrides": [
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 31
},
"id": 9,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_reads_bytes_total{namespace=\"jellyfin\", container=\"main\", device=\"/dev/nvme0n1\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Main (Local)",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_reads_bytes_total{namespace=\"jellyfin\", container=\"main\", device=\"/dev/rbd55\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Main (Cluster)",
"range": true,
"refId": "B",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_reads_bytes_total{namespace=\"jellyfin\", container=\"meilisearch\", device=\"/dev/rbd64\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Search (Cluster)",
"range": true,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_reads_bytes_total{namespace=\"jellyfin\", container=\"meilisearch\", device=\"/dev/nvme0n1\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Search (Local)",
"range": true,
"refId": "D",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_reads_bytes_total{namespace=\"jellyfin\", container=\"restic\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Backup (Sum)",
"range": true,
"refId": "E",
"useBackend": false
}
],
"title": "Disk (Read)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"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": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 4,
"scaleDistribution": {
"log": 2,
"type": "log"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binBps"
},
"overrides": [
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 31
},
"id": 24,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_writes_bytes_total{namespace=\"jellyfin\", container=\"main\", device=\"/dev/nvme0n1\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Main (Local)",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_writes_bytes_total{namespace=\"jellyfin\", container=\"main\", device=\"/dev/rbd55\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Main (Cluster)",
"range": true,
"refId": "B",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_writes_bytes_total{namespace=\"jellyfin\", container=\"meilisearch\", device=\"/dev/rbd64\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Search (Cluster)",
"range": true,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_writes_bytes_total{namespace=\"jellyfin\", container=\"meilisearch\", device=\"/dev/nvme0n1\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Search (Local)",
"range": true,
"refId": "D",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "kube-prometheus-stack"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(container_fs_writes_bytes_total{namespace=\"jellyfin\", container=\"restic\"}[$__rate_interval]))",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"interval": "5m",
"legendFormat": "Backup (Sum)",
"range": true,
"refId": "E",
"useBackend": false
}
],
"title": "Disk (Write)",
"type": "timeseries"
}
],
"preload": true,
"refresh": "",
"schemaVersion": 41,
"tags": [
"apps"
],
"templating": {
"list": []
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Jellyfin",
"uid": "D5GQA944k",
"version": 3
}