Skip to content

feat(angular): Expose custom browserTracingIntegration #10324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

mydea
Copy link
Member

@mydea mydea commented Jan 24, 2024

This way, Angular users do not need to provide a routingInstrumentation but can just import & use this directly from their angular package.

New usage:

import * as Sentry from '@sentry/angular';

Sentry.init({
  dsn: '__DSN__',
  integrations: [
    Sentry.browserTracingIntegration({
      tracingOrigins: ['localhost', 'https://yourserver.io/api'],
    }),
  ],
  tracesSampleRate: 1,
});

This way, Angular users do not need to provide a `routingInstrumentation` but can just import & use this directly from their angular package.
@mydea mydea requested a review from Lms24 January 24, 2024 16:34
@mydea mydea self-assigned this Jan 24, 2024
@mydea mydea closed this Jan 24, 2024
@mydea mydea deleted the fn/angular-browserTracingIntegration branch May 28, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant