diff --git a/apps/indexer/deploy.yml b/apps/indexer/deploy.yml index 300169f60..9a0a00c72 100644 --- a/apps/indexer/deploy.yml +++ b/apps/indexer/deploy.yml @@ -7,7 +7,7 @@ services: env: - HEALTH_CHECKS_ENABLED=true - SENTRY_DSN= - - SentryServerName= + - SENTRY_SERVER_NAME= - HEALTHCHECKS_SYNC_BLOCKS= - HEALTHCHECKS_SYNC_AKT_PRICE_HISTORY= - HEALTHCHECKS_SYNC_PROVIDER_INFO= diff --git a/apps/indexer/src/index.ts b/apps/indexer/src/index.ts index 227128074..f44c6266f 100644 --- a/apps/indexer/src/index.ts +++ b/apps/indexer/src/index.ts @@ -28,7 +28,7 @@ const { PORT = 3079 } = process.env; Sentry.init({ dsn: env.SENTRY_DSN, environment: env.NODE_ENV, - serverName: env.SentryServerName, + serverName: env.SENTRY_SERVER_NAME, release: packageJson.version, enabled: isProd, integrations: [], diff --git a/apps/indexer/src/shared/utils/env.ts b/apps/indexer/src/shared/utils/env.ts index ede1d5299..c11ea145a 100644 --- a/apps/indexer/src/shared/utils/env.ts +++ b/apps/indexer/src/shared/utils/env.ts @@ -8,7 +8,7 @@ export const env = { HEALTHCHECKS_SYNC_KEYBASE_INFO: process.env.HEALTHCHECKS_SYNC_KEYBASE_INFO, SENTRY_DSN: process.env.SENTRY_DSN, NODE_ENV: process.env.NODE_ENV, - SentryServerName: process.env.SentryServerName, + SENTRY_SERVER_NAME: process.env.SENTRY_SERVER_NAME, HEALTH_CHECKS_ENABLED: process.env.HEALTH_CHECKS_ENABLED, AKASH_DATABASE_CS: process.env.AKASH_DATABASE_CS, PASSAGE_DATABASE_CS: process.env.PASSAGE_DATABASE_CS,