Debug sentry redis integration (#15431)

This commit is contained in:
Paul Rastoin
2025-10-29 15:34:47 +01:00
committed by GitHub
parent 8f009e66f1
commit 0070fc10f8
+1 -7
View File
@@ -15,7 +15,6 @@ import { NodeEnvironment } from 'src/engine/core-modules/twenty-config/interface
import { ExceptionHandlerDriver } from 'src/engine/core-modules/exception-handler/interfaces';
import { MeterDriver } from 'src/engine/core-modules/metrics/types/meter-driver.type';
import { WORKSPACE_CACHE_KEYS } from 'src/engine/workspace-cache-storage/workspace-cache-storage.service';
import { parseArrayEnvVar } from 'src/utils/parse-array-env-var';
const meterDrivers = parseArrayEnvVar(
@@ -30,12 +29,7 @@ if (process.env.EXCEPTION_HANDLER_DRIVER === ExceptionHandlerDriver.SENTRY) {
release: process.env.APP_VERSION,
dsn: process.env.SENTRY_DSN,
integrations: [
// TODO: Redis integration doesn't seem to work - investigate why
Sentry.redisIntegration({
cachePrefixes: Object.values(WORKSPACE_CACHE_KEYS).map(
(key) => `engine:${key}:`,
),
}),
Sentry.redisIntegration(),
Sentry.httpIntegration(),
Sentry.expressIntegration(),
Sentry.graphqlIntegration(),