From 43d15506aad388e9d2a98e1998ee8fc9e8128e07 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 31 May 2024 13:10:02 +0100 Subject: [PATCH] add sentry options to env overrides --- packages/backend/src/config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/config.ts b/packages/backend/src/config.ts index 4ef7843464..346a557195 100644 --- a/packages/backend/src/config.ts +++ b/packages/backend/src/config.ts @@ -431,6 +431,8 @@ function applyEnvOverrides(config: Source) { ['host', 'port', 'username', 'pass', 'db', 'prefix'], ]); _apply_top(['meilisearch', ['host', 'port', 'apikey', 'ssl', 'index', 'scope']]); + _apply_top([['sentryForFrontend', 'sentryForBackend'], 'options', ['dsn', 'profileSampleRate', 'serverName', 'includeLocalVariables', 'proxy', 'keepAlive', 'caCerts']]); + _apply_top(['sentryForBackend', 'enableNodeProfiling']); _apply_top([['clusterLimit', 'deliverJobConcurrency', 'inboxJobConcurrency', 'relashionshipJobConcurrency', 'deliverJobPerSec', 'inboxJobPerSec', 'relashionshipJobPerSec', 'deliverJobMaxAttempts', 'inboxJobMaxAttempts']]); _apply_top([['outgoingAddress', 'outgoingAddressFamily', 'proxy', 'proxySmtp', 'mediaProxy', 'videoThumbnailGenerator']]); _apply_top([['maxFileSize', 'maxNoteLength', 'pidFile']]);