@sentry/tracing#BrowserTracing JavaScript Examples

The following examples show how to use @sentry/tracing#BrowserTracing. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.js    From win11React with Creative Commons Zero v1.0 Universal 6 votes vote down vote up
Sentry.init({
  dsn: "https://[email protected]/6251530",
  integrations: [new BrowserTracing()],

  // Set tracesSampleRate to 1.0 to capture 100%
  // of transactions for performance monitoring.
  // We recommend adjusting this value in production
  tracesSampleRate: 1.0,
});