Deprecate Sentry release (#11651)

Let's deprecate Sentry Release and use APP_VERSION instead. 

It'll make it more clear in the interface to use named version for bug
analysis, than commit sha
This commit is contained in:
Félix Malfait
2025-04-18 15:48:48 +02:00
committed by GitHub
parent fba4192d4b
commit cf5649a1df
7 changed files with 3 additions and 18 deletions

View File

@ -26,7 +26,7 @@ const meterDrivers = parseArrayEnvVar(
if (process.env.EXCEPTION_HANDLER_DRIVER === ExceptionHandlerDriver.Sentry) {
Sentry.init({
environment: process.env.SENTRY_ENVIRONMENT,
release: process.env.SENTRY_RELEASE,
release: process.env.APP_VERSION,
dsn: process.env.SENTRY_DSN,
integrations: [
// TODO: Redis integration doesn't seem to work - investigate why