2023-02-10 22:47:58 +01:00
|
|
|
{
|
2023-02-19 12:16:32 +01:00
|
|
|
"__inputs": [
|
|
|
|
{
|
|
|
|
"name": "DS_PROMETHEUS",
|
|
|
|
"label": "Prometheus",
|
|
|
|
"description": "",
|
|
|
|
"type": "datasource",
|
|
|
|
"pluginId": "prometheus",
|
|
|
|
"pluginName": "Prometheus"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"__elements": {},
|
|
|
|
"__requires": [
|
|
|
|
{
|
|
|
|
"type": "grafana",
|
|
|
|
"id": "grafana",
|
|
|
|
"name": "Grafana",
|
2023-10-18 22:47:15 +02:00
|
|
|
"version": "10.1.5"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "piechart",
|
|
|
|
"name": "Pie chart",
|
|
|
|
"version": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "datasource",
|
|
|
|
"id": "prometheus",
|
|
|
|
"name": "Prometheus",
|
|
|
|
"version": "1.0.0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "stat",
|
|
|
|
"name": "Stat",
|
|
|
|
"version": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "table",
|
|
|
|
"name": "Table",
|
|
|
|
"version": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "timeseries",
|
|
|
|
"name": "Time series",
|
|
|
|
"version": ""
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
2023-02-10 22:47:58 +01:00
|
|
|
{
|
2023-02-19 12:16:32 +01:00
|
|
|
"builtIn": 1,
|
2023-02-10 22:47:58 +01:00
|
|
|
"datasource": {
|
2023-02-19 12:16:32 +01:00
|
|
|
"type": "grafana",
|
|
|
|
"uid": "-- Grafana --"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
"target": {
|
|
|
|
"limit": 100,
|
|
|
|
"matchAny": false,
|
|
|
|
"tags": [],
|
|
|
|
"type": "dashboard"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"editable": true,
|
|
|
|
"fiscalYearStartMonth": 0,
|
|
|
|
"graphTooltip": 0,
|
|
|
|
"id": null,
|
|
|
|
"links": [],
|
|
|
|
"liveNow": false,
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 10,
|
|
|
|
"title": "Row title",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"unit": "string"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"overrides": []
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"gridPos": {
|
|
|
|
"h": 6,
|
2023-02-22 21:48:50 +01:00
|
|
|
"w": 5,
|
2023-02-19 12:16:32 +01:00
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
2023-02-22 21:48:50 +01:00
|
|
|
"id": 13,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"first"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"textMode": "auto"
|
|
|
|
},
|
2023-10-18 22:47:15 +02:00
|
|
|
"pluginVersion": "10.1.5",
|
2023-02-22 21:48:50 +01:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"exemplar": false,
|
|
|
|
"expr": "immich_app_number_users",
|
|
|
|
"format": "table",
|
|
|
|
"instant": true,
|
|
|
|
"legendFormat": "__auto",
|
|
|
|
"range": false,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Number of users",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "string"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 6,
|
|
|
|
"w": 9,
|
|
|
|
"x": 5,
|
|
|
|
"y": 1
|
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"id": 4,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"first"
|
|
|
|
],
|
|
|
|
"fields": "/^version$/",
|
|
|
|
"values": false
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"textMode": "auto"
|
|
|
|
},
|
2023-10-18 22:47:15 +02:00
|
|
|
"pluginVersion": "10.1.5",
|
2023-02-19 12:16:32 +01:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"editorMode": "code",
|
|
|
|
"exemplar": false,
|
|
|
|
"expr": "immich_app_version",
|
|
|
|
"format": "table",
|
|
|
|
"instant": true,
|
|
|
|
"legendFormat": "{{version}}",
|
|
|
|
"range": false,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Immich version",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "string"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"overrides": []
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"gridPos": {
|
|
|
|
"h": 6,
|
|
|
|
"w": 5,
|
2023-02-22 21:48:50 +01:00
|
|
|
"x": 14,
|
2023-02-19 12:16:32 +01:00
|
|
|
"y": 1
|
|
|
|
},
|
2023-02-22 21:48:50 +01:00
|
|
|
"id": 16,
|
2023-02-19 12:16:32 +01:00
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"first"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"textMode": "auto"
|
|
|
|
},
|
2023-10-18 22:47:15 +02:00
|
|
|
"pluginVersion": "10.1.5",
|
2023-02-19 12:16:32 +01:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"editorMode": "code",
|
|
|
|
"exemplar": false,
|
2023-02-22 21:48:50 +01:00
|
|
|
"expr": "immich_app_total_photos",
|
|
|
|
"format": "table",
|
|
|
|
"instant": true,
|
|
|
|
"legendFormat": "__auto",
|
|
|
|
"range": false,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Number of photos",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "string"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 6,
|
|
|
|
"w": 5,
|
|
|
|
"x": 19,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 17,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "value",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"first"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"textMode": "auto"
|
|
|
|
},
|
2023-10-18 22:47:15 +02:00
|
|
|
"pluginVersion": "10.1.5",
|
2023-02-22 21:48:50 +01:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"exemplar": false,
|
|
|
|
"expr": "immich_app_total_videos",
|
2023-02-19 12:16:32 +01:00
|
|
|
"format": "table",
|
|
|
|
"instant": true,
|
|
|
|
"legendFormat": "__auto",
|
|
|
|
"range": false,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
2023-10-18 22:47:15 +02:00
|
|
|
"title": "Number of videos",
|
2023-02-19 12:16:32 +01:00
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"align": "auto",
|
2023-10-18 22:47:15 +02:00
|
|
|
"cellOptions": {
|
|
|
|
"type": "auto"
|
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"filterable": false,
|
|
|
|
"inspect": false
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "Time"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.hidden",
|
|
|
|
"value": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "__name__"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.hidden",
|
|
|
|
"value": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "instance"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.hidden",
|
|
|
|
"value": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "Value"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.hidden",
|
|
|
|
"value": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "firstname"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "displayName",
|
|
|
|
"value": "First name"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "job"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.hidden",
|
|
|
|
"value": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "lastname"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "displayName",
|
|
|
|
"value": "Last name"
|
|
|
|
}
|
|
|
|
]
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
|
|
|
{
|
2023-02-19 12:16:32 +01:00
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "usage"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "unit",
|
|
|
|
"value": "bytes"
|
|
|
|
}
|
|
|
|
]
|
2023-02-10 22:47:58 +01:00
|
|
|
}
|
2023-02-19 12:16:32 +01:00
|
|
|
]
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"gridPos": {
|
|
|
|
"h": 6,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 7
|
|
|
|
},
|
|
|
|
"id": 15,
|
|
|
|
"options": {
|
2023-10-18 22:47:15 +02:00
|
|
|
"cellHeight": "sm",
|
2023-02-19 12:16:32 +01:00
|
|
|
"footer": {
|
2023-10-18 22:47:15 +02:00
|
|
|
"countRows": false,
|
2023-02-19 12:16:32 +01:00
|
|
|
"fields": "",
|
|
|
|
"reducer": [
|
|
|
|
"sum"
|
|
|
|
],
|
|
|
|
"show": false
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"showHeader": true,
|
|
|
|
"sortBy": [
|
|
|
|
{
|
|
|
|
"desc": false,
|
|
|
|
"displayName": "Time"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-10-18 22:47:15 +02:00
|
|
|
"pluginVersion": "10.1.5",
|
2023-02-19 12:16:32 +01:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"exemplar": false,
|
|
|
|
"expr": "immich_user_info",
|
|
|
|
"format": "table",
|
|
|
|
"instant": true,
|
|
|
|
"legendFormat": "",
|
|
|
|
"range": false,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Users details",
|
|
|
|
"type": "table"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-10-18 22:47:15 +02:00
|
|
|
"insertNulls": false,
|
2023-02-22 21:48:50 +01:00
|
|
|
"lineInterpolation": "smooth",
|
|
|
|
"lineStyle": {
|
|
|
|
"fill": "solid"
|
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-22 21:48:50 +01:00
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true,
|
2023-02-19 12:16:32 +01:00
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"unit": "bytes"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"overrides": []
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"id": 12,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [],
|
|
|
|
"displayMode": "list",
|
|
|
|
"placement": "bottom",
|
|
|
|
"showLegend": true
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"exemplar": false,
|
|
|
|
"expr": "immich_user_usage",
|
2023-02-22 21:48:50 +01:00
|
|
|
"instant": false,
|
2023-02-19 12:16:32 +01:00
|
|
|
"legendFormat": "{{firstname}} {{lastname}}",
|
2023-02-22 21:48:50 +01:00
|
|
|
"range": true,
|
2023-02-19 12:16:32 +01:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "User usage",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-10-18 22:47:15 +02:00
|
|
|
"insertNulls": false,
|
2023-02-19 12:16:32 +01:00
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
2023-02-22 21:48:50 +01:00
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true,
|
2023-02-19 12:16:32 +01:00
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
2023-02-10 22:47:58 +01:00
|
|
|
}
|
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
2023-02-10 22:47:58 +01:00
|
|
|
}
|
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"overrides": []
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"gridPos": {
|
|
|
|
"h": 9,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [],
|
|
|
|
"displayMode": "list",
|
|
|
|
"placement": "bottom",
|
|
|
|
"showLegend": false
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "immich_app_total_photos + immich_app_total_videos",
|
|
|
|
"legendFormat": "__auto",
|
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Total assets",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"custom": {
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
}
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"mappings": []
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"overrides": []
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 22
|
|
|
|
},
|
|
|
|
"id": 8,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"displayMode": "list",
|
|
|
|
"placement": "bottom",
|
|
|
|
"showLegend": true
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"pieType": "pie",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "immich_app_total_photos",
|
|
|
|
"legendFormat": "Photos",
|
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "immich_app_total_videos",
|
|
|
|
"hide": false,
|
|
|
|
"legendFormat": "Videos",
|
|
|
|
"range": true,
|
|
|
|
"refId": "B"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Proportion Photos / Videos",
|
|
|
|
"type": "piechart"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"custom": {
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": []
|
2023-02-10 22:47:58 +01:00
|
|
|
},
|
2023-02-19 12:16:32 +01:00
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 22
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"displayMode": "list",
|
|
|
|
"placement": "bottom",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"pieType": "pie",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"exemplar": false,
|
|
|
|
"expr": "immich_user_usage",
|
|
|
|
"instant": true,
|
|
|
|
"legendFormat": "{{firstname}} {{lastname}}",
|
|
|
|
"range": false,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Usage by user",
|
|
|
|
"type": "piechart"
|
|
|
|
}
|
|
|
|
],
|
2023-10-18 22:47:15 +02:00
|
|
|
"refresh": "5m",
|
|
|
|
"schemaVersion": 38,
|
2023-02-19 12:16:32 +01:00
|
|
|
"style": "dark",
|
|
|
|
"tags": [],
|
|
|
|
"templating": {
|
|
|
|
"list": []
|
|
|
|
},
|
|
|
|
"time": {
|
2023-10-18 22:47:15 +02:00
|
|
|
"from": "now-24h",
|
2023-02-19 12:16:32 +01:00
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {},
|
|
|
|
"timezone": "",
|
2023-10-18 22:47:15 +02:00
|
|
|
"title": "Immich Go",
|
2023-02-19 12:16:32 +01:00
|
|
|
"uid": "9QXCv3AVk",
|
2023-10-18 22:47:15 +02:00
|
|
|
"version": 4,
|
2023-02-19 12:16:32 +01:00
|
|
|
"weekStart": ""
|
|
|
|
}
|