Skip to content

Commit

Permalink
chore(server): telemetry env clean up (immich-app#13813)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored and yosit committed Nov 21, 2024
1 parent 922e8b7 commit b154e54
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ services:
'wal_compression=on',
]

# set IMMICH_METRICS=true in .env to enable metrics
# set IMMICH_TELEMETRY_INCLUDE=all in .env to enable metrics
# immich-prometheus:
# container_name: immich_prometheus
# ports:
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ services:
]
restart: always

# set IMMICH_METRICS=true in .env to enable metrics
# set IMMICH_TELEMETRY_INCLUDE=all in .env to enable metrics
immich-prometheus:
container_name: immich_prometheus
ports:
Expand Down
2 changes: 1 addition & 1 deletion e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- DB_PASSWORD=postgres
- DB_DATABASE_NAME=immich
- IMMICH_MACHINE_LEARNING_ENABLED=false
- IMMICH_METRICS=true
- IMMICH_TELEMETRY_INCLUDE=all
- IMMICH_ENV=testing
- IMMICH_PORT=2285
- IMMICH_IGNORE_MOUNT_CHECK_ERRORS=true
Expand Down
5 changes: 0 additions & 5 deletions server/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,6 @@ export const immichAppConfig: ConfigModuleOptions = {
cidr: 'optional',
}),
),

IMMICH_METRICS: Joi.boolean().optional().default(false),
IMMICH_HOST_METRICS: Joi.boolean().optional(),
IMMICH_API_METRICS: Joi.boolean().optional(),
IMMICH_IO_METRICS: Joi.boolean().optional(),
}),
};

Expand Down

0 comments on commit b154e54

Please sign in to comment.