diff --git a/packages/auth/src/config/plugins.ts b/packages/auth/src/config/plugins.ts index b3254d5e7a..3fe1527b5d 100644 --- a/packages/auth/src/config/plugins.ts +++ b/packages/auth/src/config/plugins.ts @@ -36,7 +36,10 @@ export default function getPlugins() { options: { client: { environment: process.env.DOMAIN, - dsn: env.SENTRY_DSN + dsn: env.SENTRY_DSN, + initialScope: { + tags: { service: 'auth' } + } }, catchLogErrors: true } diff --git a/packages/config/src/config/plugins.ts b/packages/config/src/config/plugins.ts index eda61ca6ce..0e6a8a3064 100644 --- a/packages/config/src/config/plugins.ts +++ b/packages/config/src/config/plugins.ts @@ -37,7 +37,10 @@ export default function getPlugins() { options: { client: { environment: env.DOMAIN, - dsn: env.SENTRY_DSN + dsn: env.SENTRY_DSN, + initialScope: { + tags: { service: 'config' } + } }, catchLogErrors: true } diff --git a/packages/documents/src/config/plugins.ts b/packages/documents/src/config/plugins.ts index 276595b4b2..4f7f12d544 100644 --- a/packages/documents/src/config/plugins.ts +++ b/packages/documents/src/config/plugins.ts @@ -38,7 +38,10 @@ export default function getPlugins() { options: { client: { environment: process.env.DOMAIN, - dsn: SENTRY_DSN + dsn: SENTRY_DSN, + initialScope: { + tags: { service: 'documents' } + } }, catchLogErrors: true } diff --git a/packages/gateway/src/config/plugins.ts b/packages/gateway/src/config/plugins.ts index f34cb6b42c..430f40317d 100644 --- a/packages/gateway/src/config/plugins.ts +++ b/packages/gateway/src/config/plugins.ts @@ -57,7 +57,10 @@ export const getPlugins = () => { options: { client: { dsn: SENTRY_DSN, - environment: process.env.DOMAIN + environment: process.env.DOMAIN, + initialScope: { + tags: { service: 'gateway' } + } }, catchLogErrors: true } diff --git a/packages/metrics/src/config/plugins.ts b/packages/metrics/src/config/plugins.ts index 89e5bd35fe..760abad67e 100644 --- a/packages/metrics/src/config/plugins.ts +++ b/packages/metrics/src/config/plugins.ts @@ -38,7 +38,10 @@ export default function getPlugins() { options: { client: { environment: process.env.DOMAIN, - dsn: SENTRY_DSN + dsn: SENTRY_DSN, + initialScope: { + tags: { service: 'metrics' } + } }, catchLogErrors: true } diff --git a/packages/notification/src/config/plugins.ts b/packages/notification/src/config/plugins.ts index 809bb94572..7274b63999 100644 --- a/packages/notification/src/config/plugins.ts +++ b/packages/notification/src/config/plugins.ts @@ -38,7 +38,10 @@ export default function getPlugins() { options: { client: { environment: process.env.DOMAIN, - dsn: SENTRY_DSN + dsn: SENTRY_DSN, + initialScope: { + tags: { service: 'notification' } + } }, catchLogErrors: true } diff --git a/packages/search/src/config/plugins.ts b/packages/search/src/config/plugins.ts index e3e1310a8d..db95c61590 100644 --- a/packages/search/src/config/plugins.ts +++ b/packages/search/src/config/plugins.ts @@ -37,7 +37,10 @@ export default function getPlugins() { options: { client: { environment: process.env.DOMAIN, - dsn: SENTRY_DSN + dsn: SENTRY_DSN, + initialScope: { + tags: { service: 'search' } + } }, catchLogErrors: true } diff --git a/packages/user-mgnt/src/config/plugins.ts b/packages/user-mgnt/src/config/plugins.ts index 40487a91d6..8b853a16ed 100644 --- a/packages/user-mgnt/src/config/plugins.ts +++ b/packages/user-mgnt/src/config/plugins.ts @@ -37,7 +37,10 @@ export default function getPlugins() { options: { client: { environment: process.env.DOMAIN, - dsn: SENTRY_DSN + dsn: SENTRY_DSN, + initialScope: { + tags: { service: 'user-mgnt' } + } }, catchLogErrors: true } diff --git a/packages/webhooks/src/config/plugins.ts b/packages/webhooks/src/config/plugins.ts index 1eed22f0da..418928e956 100644 --- a/packages/webhooks/src/config/plugins.ts +++ b/packages/webhooks/src/config/plugins.ts @@ -37,7 +37,10 @@ export default function getPlugins() { options: { client: { environment: process.env.DOMAIN, - dsn: SENTRY_DSN + dsn: SENTRY_DSN, + initialScope: { + tags: { service: 'webhooks' } + } }, catchLogErrors: true } diff --git a/packages/workflow/src/config/plugins.ts b/packages/workflow/src/config/plugins.ts index b84086c20d..9d8c14f1b1 100644 --- a/packages/workflow/src/config/plugins.ts +++ b/packages/workflow/src/config/plugins.ts @@ -37,7 +37,10 @@ export default function getPlugins() { options: { client: { environment: process.env.DOMAIN, - dsn: SENTRY_DSN + dsn: SENTRY_DSN, + initialScope: { + tags: { service: 'workflow' } + } }, catchLogErrors: true }