Environment variables in multiple files have been updated to correctly reference public variables. Moreover, the conditional check for MONITORING_INSTRUMENTATION_ENABLED has been corrected to explicitly check for the string 'true'. This change ensures that our application correctly accesses public environmental variables and behaves as expected under the conditions defined by these variables.
Monitoring / @kit/monitoring
Please set the following environment variable to your preferred monitoring provider:
NEXT_PUBLIC_MONITORING_PROVIDER=
MONITORING_INSTRUMENTATION_ENABLED=true
Available Providers
To use a specific provider, set the NEXT_PUBLIC_MONITORING_PROVIDER environment variable to one of the following values:
- Baselime:
baselime - Sentry:
sentry
Baselime
To use Baselime, set the NEXT_PUBLIC_MONITORING_PROVIDER environment variable to baselime.
NEXT_PUBLIC_MONITORING_PROVIDER=baselime
Sentry
To use Sentry, set the NEXT_PUBLIC_MONITORING_PROVIDER environment variable to sentry.
NEXT_PUBLIC_MONITORING_PROVIDER=sentry
Instrumentation
To enable instrumentation, set the MONITORING_INSTRUMENTATION_ENABLED environment variable to true.
MONITORING_INSTRUMENTATION_ENABLED=true