diff --git a/grafana/dashboard-immich.json b/grafana/dashboard-immich.json index a780227..58da318 100644 --- a/grafana/dashboard-immich.json +++ b/grafana/dashboard-immich.json @@ -15,7 +15,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "10.0.2" + "version": "10.1.4" }, { "type": "panel", @@ -118,7 +118,7 @@ }, "textMode": "name" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -185,7 +185,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -247,7 +247,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -309,7 +309,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -371,7 +371,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -433,7 +433,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -487,8 +487,8 @@ "hideTimeOverride": false, "id": 24, "options": { - "colorMode": "background", - "graphMode": "none", + "colorMode": "none", + "graphMode": "area", "justifyMode": "center", "orientation": "auto", "reduceOptions": { @@ -500,7 +500,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -509,8 +509,9 @@ }, "editorMode": "code", "exemplar": false, - "expr": "increase(immich_server_stats_usage_growth[1d])", + "expr": "delta(immich_server_stats_usage_growth[24h])", "instant": false, + "interval": "", "legendFormat": "__auto", "range": true, "refId": "A" @@ -553,8 +554,8 @@ "hideTimeOverride": false, "id": 26, "options": { - "colorMode": "background", - "graphMode": "none", + "colorMode": "none", + "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { @@ -566,7 +567,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -574,7 +575,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_usage_growth[1w])", + "expr": "delta(immich_server_stats_usage_growth[1w])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -620,7 +621,11 @@ "legend": { "displayMode": "list", "placement": "right", - "showLegend": true + "showLegend": true, + "values": [ + "percent", + "value" + ] }, "pieType": "pie", "reduceOptions": { @@ -684,8 +689,8 @@ "hideTimeOverride": false, "id": 28, "options": { - "colorMode": "background", - "graphMode": "none", + "colorMode": "none", + "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { @@ -697,7 +702,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -705,7 +710,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_usage_growth[4w])", + "expr": "delta(immich_server_stats_usage_growth[4w])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -748,7 +753,7 @@ "hideTimeOverride": false, "id": 30, "options": { - "colorMode": "background", + "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", @@ -761,7 +766,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -769,7 +774,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_usage_growth[1y])", + "expr": "delta(immich_server_stats_usage_growth[1y])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -806,7 +811,7 @@ "x": 0, "y": 11 }, - "hideTimeOverride": true, + "hideTimeOverride": false, "id": 32, "options": { "colorMode": "value", @@ -822,7 +827,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -830,7 +835,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_photos_growth[24h])", + "expr": "delta(immich_server_stats_photos_growth[24h])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -867,7 +872,7 @@ "x": 6, "y": 11 }, - "hideTimeOverride": true, + "hideTimeOverride": false, "id": 34, "options": { "colorMode": "value", @@ -883,7 +888,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -891,7 +896,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_photos_growth[7d])", + "expr": "delta(immich_server_stats_photos_growth[1w])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -906,6 +911,7 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -937,7 +943,11 @@ "legend": { "displayMode": "table", "placement": "right", - "showLegend": true + "showLegend": true, + "values": [ + "value", + "percent" + ] }, "pieType": "pie", "reduceOptions": { @@ -961,13 +971,14 @@ "editorMode": "code", "exemplar": false, "expr": "immich_server_stats_photos_by_users", + "format": "time_series", "instant": false, "legendFormat": "{{firstName}}", "range": true, "refId": "A" } ], - "title": "Photos", + "title": "Total photos by user", "type": "piechart" }, { @@ -999,7 +1010,7 @@ "x": 0, "y": 15 }, - "hideTimeOverride": true, + "hideTimeOverride": false, "id": 36, "options": { "colorMode": "value", @@ -1015,7 +1026,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -1023,7 +1034,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_photos_growth[4w])", + "expr": "delta(immich_server_stats_photos_growth[4w])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -1062,7 +1073,7 @@ "x": 6, "y": 15 }, - "hideTimeOverride": true, + "hideTimeOverride": false, "id": 38, "options": { "colorMode": "value", @@ -1078,7 +1089,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -1086,7 +1097,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_photos_growth[1y])", + "expr": "delta(immich_server_stats_photos_growth[1y])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -1122,6 +1133,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -1181,7 +1193,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "immich_server_stats_photos_by_users", + "expr": "delta(immich_server_stats_photos_by_users[4w])", "legendFormat": "{{firstName}}", "range": true, "refId": "A" @@ -1217,6 +1229,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -1276,7 +1289,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "immich_server_stats_photos_by_users", + "expr": "delta(immich_server_stats_photos_by_users[1y])", "legendFormat": "{{firstName}}", "range": true, "refId": "A" @@ -1314,7 +1327,7 @@ "x": 0, "y": 33 }, - "hideTimeOverride": true, + "hideTimeOverride": false, "id": 42, "options": { "colorMode": "value", @@ -1330,7 +1343,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -1338,7 +1351,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_videos_growth[1d])", + "expr": "delta(immich_server_stats_videos_growth[24h])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -1376,7 +1389,7 @@ "x": 6, "y": 33 }, - "hideTimeOverride": true, + "hideTimeOverride": false, "id": 40, "options": { "colorMode": "value", @@ -1392,7 +1405,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -1400,7 +1413,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_videos_growth[1w])", + "expr": "delta(immich_server_stats_videos_growth[1w])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -1446,7 +1459,10 @@ "displayMode": "list", "placement": "right", "showLegend": true, - "values": [] + "values": [ + "percent", + "value" + ] }, "pieType": "pie", "reduceOptions": { @@ -1474,7 +1490,7 @@ "refId": "A" } ], - "title": "Videos", + "title": "Total videos by user", "type": "piechart" }, { @@ -1505,7 +1521,7 @@ "x": 0, "y": 37 }, - "hideTimeOverride": true, + "hideTimeOverride": false, "id": 44, "options": { "colorMode": "value", @@ -1521,7 +1537,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -1529,7 +1545,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_videos_growth[4w])\r\n", + "expr": "delta(immich_server_stats_videos_growth[4w])\r\n", "legendFormat": "__auto", "range": true, "refId": "A" @@ -1567,7 +1583,7 @@ "x": 6, "y": 37 }, - "hideTimeOverride": true, + "hideTimeOverride": false, "id": 46, "options": { "colorMode": "value", @@ -1583,7 +1599,7 @@ }, "textMode": "auto" }, - "pluginVersion": "10.0.2", + "pluginVersion": "10.1.4", "targets": [ { "datasource": { @@ -1591,7 +1607,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "increase(immich_server_stats_videos_growth[1y])\r\n", + "expr": "delta(immich_server_stats_videos_growth[1y])", "legendFormat": "__auto", "range": true, "refId": "A" @@ -1617,6 +1633,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "right", + "axisSoftMin": 9000, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, @@ -1626,12 +1643,13 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, - "pointSize": 5, + "pointSize": 1, "scaleDistribution": { "type": "linear" }, @@ -1639,7 +1657,7 @@ "spanNulls": true, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" @@ -1658,12 +1676,13 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 7, "w": 24, "x": 0, "y": 41 }, - "id": 20, + "hideTimeOverride": false, + "id": 49, "options": { "legend": { "calcs": [], @@ -1683,14 +1702,14 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "immich_server_stats_videos_by_users", + "expr": "delta(immich_server_stats_videos_by_users[4w])", "legendFormat": "{{firstName}}", "range": true, "refId": "A" } ], "timeFrom": "1M", - "title": "Videos growth", + "title": "Videos Growth", "type": "timeseries" }, { @@ -1709,6 +1728,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "right", + "axisSoftMin": 9000, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, @@ -1718,12 +1738,13 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, - "pointSize": 5, + "pointSize": 1, "scaleDistribution": { "type": "linear" }, @@ -1731,7 +1752,7 @@ "spanNulls": true, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" @@ -1750,12 +1771,13 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 7, "w": 24, "x": 0, - "y": 49 + "y": 48 }, - "id": 48, + "hideTimeOverride": false, + "id": 50, "options": { "legend": { "calcs": [], @@ -1775,18 +1797,18 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "immich_server_stats_videos_by_users", + "expr": "delta(immich_server_stats_videos_by_users[1y])", "legendFormat": "{{firstName}}", "range": true, "refId": "A" } ], "timeFrom": "1y", - "title": "Videos growth", + "title": "Videos Growth", "type": "timeseries" } ], - "refresh": "5s", + "refresh": "30s", "revision": 1, "schemaVersion": 38, "style": "dark", @@ -1802,6 +1824,6 @@ "timezone": "", "title": "immich", "uid": "ZWWp3aa4k", - "version": 9, + "version": 28, "weekStart": "" } \ No newline at end of file diff --git a/grafana/screenshot.png b/grafana/screenshot.png index b4ff953..74eef1c 100644 Binary files a/grafana/screenshot.png and b/grafana/screenshot.png differ