diff --git a/.env.example b/.env.example index 402cb79cb..b54f09921 100644 --- a/.env.example +++ b/.env.example @@ -74,8 +74,8 @@ CAPTCHA_SECRET= NEXT_PUBLIC_CAPTCHA_SITE_KEY= -OTEL_TELEMETRY_COLLECTION_ENABLED= -OTEL_EXPORT_TYPE= +OTEL_TELEMETRY_COLLECTION_ENABLED=false +OTEL_EXPORT_TYPE=prometheus OTEL_EXPORT_OTLP_ENDPOINT= OTEL_OTLP_PUSH_INTERVAL= diff --git a/backend/src/lib/config/env.ts b/backend/src/lib/config/env.ts index 12ab33118..a9014a72b 100644 --- a/backend/src/lib/config/env.ts +++ b/backend/src/lib/config/env.ts @@ -10,7 +10,7 @@ export const GITLAB_URL = "https://gitlab.com"; export const IS_PACKAGED = (process as any)?.pkg !== undefined; const zodStrBool = z - .enum(["true", "false"]) + .string() .optional() .transform((val) => val === "true");