exportarr/examples/grafana/dashboard.json
2020-04-12 08:21:46 -04:00

649 lines
14 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 30,
"links": [],
"panels": [
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 7,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [
{
"from": "",
"id": 1,
"operator": "",
"text": "Online",
"to": "",
"type": 1,
"value": "1"
},
{
"from": "",
"id": 2,
"operator": "",
"text": "Offline",
"to": "",
"type": 1,
"value": "null"
},
{
"from": "",
"id": 3,
"operator": "",
"text": "Offline",
"to": "",
"type": 1,
"value": "0"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 194, 48)",
"value": null
}
]
},
"title": "status"
},
"overrides": [],
"values": false
},
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"expr": "radarr_system_status",
"format": "time_series",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 7,
"y": 0
},
"id": 4,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"mappings": [
{
"from": "",
"id": 1,
"operator": "",
"text": "0",
"to": "",
"type": 1,
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 194, 48)",
"value": null
}
]
},
"title": "in queue",
"unit": "locale"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"expr": "sum(radarr_queue_total)",
"format": "table",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 11,
"y": 0
},
"id": 5,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 194, 48)",
"value": null
}
]
},
"title": "missing",
"unit": "locale"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"expr": "radarr_movie_missing_total",
"format": "table",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 15,
"y": 0
},
"id": 3,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 194, 48)",
"value": null
}
]
},
"title": "wanted",
"unit": "locale"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"expr": "radarr_movie_wanted_total",
"format": "table",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 7,
"x": 0,
"y": 5
},
"id": 6,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"mappings": [
{
"from": "",
"id": 1,
"operator": "",
"text": "0",
"to": "",
"type": 1,
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 194, 48)",
"value": null
}
]
},
"title": "movies",
"unit": "locale"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"expr": "radarr_movie_total",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 7,
"y": 5
},
"id": 10,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"mappings": [
{
"from": "",
"id": 1,
"operator": "",
"text": "0",
"to": "",
"type": 1,
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 194, 48)",
"value": null
}
]
},
"title": "monitored",
"unit": "locale"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"expr": "radarr_movie_monitored_total",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 11,
"y": 5
},
"id": 8,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [
{
"from": "",
"id": 1,
"operator": "",
"text": "0",
"to": "",
"type": 1,
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 194, 48)",
"value": null
}
]
},
"title": "d/l past month",
"unit": "locale"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"expr": "sum(increase(radarr_movie_download_total[30d]))",
"format": "table",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 15,
"y": 5
},
"id": 7,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [
{
"from": "",
"id": 1,
"operator": "",
"text": "0",
"to": "",
"type": 1,
"value": "null"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 194, 48)",
"value": null
}
]
},
"title": "d/l past week",
"unit": "locale"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"expr": "sum(increase(radarr_movie_download_total[7d]))",
"format": "table",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 19,
"x": 0,
"y": 10
},
"hiddenSeries": false,
"id": 13,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"sideWidth": null,
"total": true,
"values": true
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sort_desc(sum(radarr_movie_quality_total) by (quality))",
"format": "time_series",
"instant": true,
"legendFormat": "{{quality}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "series",
"name": null,
"show": true,
"values": [
"total"
]
},
"yaxes": [
{
"decimals": null,
"format": "locale",
"label": "movies by quality",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": 3
}
},
{
"datasource": "loki",
"gridPos": {
"h": 11,
"w": 19,
"x": 0,
"y": 20
},
"id": 15,
"options": {
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": true
},
"targets": [
{
"expr": "{app_kubernetes_io_name=\"radarr\"}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "logs"
}
],
"refresh": "1m",
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-2d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Radarr",
"uid": "A8iPssjZk",
"version": 12
}