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",
|
|
|
|
"version": "9.3.6"
|
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"
|
|
|
|
},
|
|
|
|
"pluginVersion": "9.3.6",
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"pluginVersion": "9.3.6",
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"pluginVersion": "9.3.6",
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"pluginVersion": "9.3.6",
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Number of users",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${DS_PROMETHEUS}"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"align": "auto",
|
|
|
|
"displayMode": "auto",
|
|
|
|
"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": {
|
|
|
|
"footer": {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pluginVersion": "9.3.6",
|
|
|
|
"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-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-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"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"refresh": false,
|
|
|
|
"schemaVersion": 37,
|
|
|
|
"style": "dark",
|
|
|
|
"tags": [],
|
|
|
|
"templating": {
|
|
|
|
"list": []
|
|
|
|
},
|
|
|
|
"time": {
|
2023-02-22 21:48:50 +01:00
|
|
|
"from": "now-15m",
|
2023-02-19 12:16:32 +01:00
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {},
|
|
|
|
"timezone": "",
|
|
|
|
"title": "Immich",
|
|
|
|
"uid": "9QXCv3AVk",
|
2023-02-22 21:48:50 +01:00
|
|
|
"version": 9,
|
2023-02-19 12:16:32 +01:00
|
|
|
"weekStart": ""
|
|
|
|
}
|