diff --git a/packages/@n8n/config/src/configs/diagnostics.config.ts b/packages/@n8n/config/src/configs/diagnostics.config.ts index 58e4740b35..5ff6abf837 100644 --- a/packages/@n8n/config/src/configs/diagnostics.config.ts +++ b/packages/@n8n/config/src/configs/diagnostics.config.ts @@ -15,7 +15,7 @@ class PostHogConfig { export class DiagnosticsConfig { /** Whether diagnostics are enabled. */ @Env('N8N_DIAGNOSTICS_ENABLED') - enabled: boolean = false; + enabled: boolean = true; /** Diagnostics config for frontend. */ @Env('N8N_DIAGNOSTICS_CONFIG_FRONTEND') diff --git a/packages/@n8n/config/test/config.test.ts b/packages/@n8n/config/test/config.test.ts index 76402b5957..c5dc2a35b5 100644 --- a/packages/@n8n/config/test/config.test.ts +++ b/packages/@n8n/config/test/config.test.ts @@ -283,7 +283,7 @@ describe('GlobalConfig', () => { }, }, diagnostics: { - enabled: false, + enabled: true, frontendConfig: '1zPn9bgWPzlQc0p8Gj1uiK6DOTn;https://telemetry.n8n.io', backendConfig: '1zPn7YoGC3ZXE9zLeTKLuQCB4F6;https://telemetry.n8n.io', posthogConfig: {