Skip to content

Commit

Permalink
Update app signal FE variables
Browse files Browse the repository at this point in the history
  • Loading branch information
luistorres committed May 17, 2024
1 parent 0a365c0 commit bcc20a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/web-app/app/app-signal.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Appsignal from '@appsignal/javascript';

export const appSignal = new Appsignal({
key: process.env.NEXT_APP_SIGNAL,
namespace: process.env.NEXT_APP_SIGNAL_ENV || process.env.NODE_ENV,
key: process.env.NEXT_PUBLIC_APP_SIGNAL,
namespace: process.env.NEXT_PUBLIC_APP_SIGNAL_ENV || process.env.NODE_ENV,
});
2 changes: 1 addition & 1 deletion packages/web-app/appsignal.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { Appsignal } = require('@appsignal/nodejs');
new Appsignal({
active: true,
name: 'citizend',
environment: process.env.NEXT_APP_SIGNAL_ENV || process.env.NODE_ENV,
environment: process.env.NEXT_PUBLIC_APP_SIGNAL_ENV || process.env.NODE_ENV,
pushApiKey: process.env.NEXT_APP_SIGNAL,
disableDefaultInstrumentations: ['@opentelemetry/instrumentation-http'],
});

0 comments on commit bcc20a4

Please sign in to comment.