Skip to content

Commit

Permalink
fix(env): update SentryServerName to SENTRY_SERVER_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroyukikumazawa authored and root committed Sep 9, 2024
1 parent fa03415 commit bfbc86b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/indexer/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
env:
- HEALTH_CHECKS_ENABLED=true
- SENTRY_DSN=<SENTRY_DSN>
- SentryServerName=<SENTRY_SERVER_NAME>
- SENTRY_SERVER_NAME=<SENTRY_SERVER_NAME>
- HEALTHCHECKS_SYNC_BLOCKS=<HEALTH_CHECKS_ID>
- HEALTHCHECKS_SYNC_AKT_PRICE_HISTORY=<HEALTH_CHECKS_ID>
- HEALTHCHECKS_SYNC_PROVIDER_INFO=<HEALTH_CHECKS_ID>
Expand Down
2 changes: 1 addition & 1 deletion apps/indexer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
Expand Down
2 changes: 1 addition & 1 deletion apps/indexer/src/shared/utils/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bfbc86b

Please sign in to comment.