You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement conditional Sentry activation for development mode
- Add environment.enableSentry flag to Angular environment configurations
- Conditionally initialize Sentry in main.ts based on enableSentry flag
- Conditionally register Sentry error handler in app.declarations.ts
- Conditionally capture exceptions in http-error.interceptor.ts
- Add DISABLE_SENTRY environment variable support in C# Program.cs
- Update Dockerfile to support DISABLE_SENTRY build argument
- Update CI/CD workflow to disable Sentry during PR tests
Co-authored-by: renemadsen <[email protected]>
tracesSampleRate: 1.0,// Capture 100% of the transactions
67
-
// Session Replay
68
-
replaysSessionSampleRate: 0.1,// This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
69
-
replaysOnErrorSampleRate: 1.0,// If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
tracesSampleRate: 1.0,// Capture 100% of the transactions
68
+
// Session Replay
69
+
replaysSessionSampleRate: 0.1,// This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
70
+
replaysOnErrorSampleRate: 1.0,// If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
0 commit comments