Skip to content

Metrics

Immich supports Prometheus based metrics. You can read more about them over at the official Immich documentation. You can configure the metrics via two configuration keys. metrics-telemetry-include and metrics-telemetry-exclude. They map to the environment variables IMMICH_TELEMETRY_INCLUDE and IMMICH_TELEMETRY_EXCLUDE documented here.

Examples

Enable all metrics
sudo snap set immich-distribution metrics-telemetry-include="all"
Enable only api metrics
sudo snap set immich-distribution metrics-telemetry-include="api"
Enable all, except api metrics
sudo snap set immich-distribution metrics-telemetry-include="all"
sudo snap set immich-distribution metrics-telemetry-exclude="api"

Mix and match as you see please, available options are host, api, io, repo, job.