Files
myeasycms-v2/packages/monitoring
giancarlo f1e3a44c89 Refactor monitoring instrumentation setup
Removed the MONITORING_PROVIDER constant from the monitoring package, replaced it with direct process.env access. This ensures that environment variables are accessed directly at the time of use without intermediate variables. In the apps/web/instrumentation.ts file, refactored condition checks for runtime environment and instrumentation enablement, using direct access environmental variables. This change simplifies the code and improves readability.
2024-04-15 14:41:48 +08:00
..

Monitoring / @kit/monitoring

Please set the following environment variable to your preferred monitoring provider:

MONITORING_INSTRUMENTATION_PROVIDER=

Available Providers

To use a specific provider, set the MONITORING_INSTRUMENTATION_PROVIDER environment variable to one of the following values:

  1. Baselime: baselime
  2. Sentry: sentry