Files
myeasycms-v2/packages/monitoring/api
giancarlo 97378f1369 Simplify MonitoringProvider component
The MonitoringProvider component has been simplified. The “config” prop, including 'provider' and 'providerToken', has been removed as they are no longer needed. The implementation now directly uses the getMonitoringProvider function and removed the check for 'props.config'. Conditionally rendering the BaselimeProvider component has also been simplified.
2024-05-01 14:33:32 +07:00
..
2024-05-01 14:33:32 +07:00
2024-04-27 14:39:28 +07:00

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:

  1. Baselime: baselime
  2. 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