0

I am trying to set up performance monitoring on my expo react native application using sentry.

Here is our how I instrumented my code:

  Sentry.init({
    dsn: '{DSN_KEY}',
    enableInExpoDevelopment: true,
    debug: true, // If `true`, Sentry will try to print out useful debugging information if something goes wrong with sending the event. Set it to `false` in production
    tracesSampleRate: 1.0,
    autoSessionTracking: true,
    
  integrations: [
    new Sentry.Native.ReactNativeTracing({
      tracingOrigins: ["localhost", /^https:\/\//, /^\//],
      // ... other options
    }),
  ],
  });

Nothing happens despite following instructions. This is what my sentry dashboard looks like

Image

  • Take a look at the docs https://docs.sentry.io/platforms/react-native/performance/instrumentation/automatic-instrumentation/ You are probably missing the `routingInstrumentation`. – Manoel Neto Sep 08 '22 at 06:46

0 Answers0