#Struggling to implement Mobile Vitals

2 messages · Page 1 of 1 (latest)

urban wedge
#

I'm having the toughest time trying to get my app's warm and cold start times. This is my config and I see nothing in my debug that points towards this erroring, but I also see nothing in the Sentry UI besides the splash ad about mobile vitals. What am I missing here?

  enableAppStartTracking: true,
  enableNativeFramesTracking: true,
  enableStallTracking: true,
  environment: 'development',
  dsn: sentryDsn,
  release: getFullyQualifiedAppVersion(),
  debug: true,
  tracePropagationTargets: [],
  tracesSampleRate: 1.00,
  integrations: [
    Sentry.breadcrumbsIntegration({ dom: false }),
    Sentry.reactNativeTracingIntegration(),
    Sentry.reactNavigationIntegration({
      enableTimeToInitialDisplay: true,
    }),
  ],
  // Util log for sentry, only uncomment for debugging
  beforeSend(event) {
    console.log('Sending event to Sentry:', event);
    return event;
  },
});

const App = () => {
  useZendesk();
  return (
    <ThemeProvider>
      <DeviceAppDemographicsProvider>
        <BootstrapProvider>
          <InterfaceProvider />
        </BootstrapProvider>
      </DeviceAppDemographicsProvider>
    </ThemeProvider>
  );
};

export default Sentry.wrap(App);```
urban wedge
#

I see this upon app start up which is why I'm particularly confused:

 LOG  Running "XXXXXXXX" with {"rootTag":1,"initialProps":{"concurrentRoot":false}}
 LOG  Sentry Logger [log]: Integration installed: ReactNativeProfiler
 DEBUG  Sentry Logger [debug]: [AppStart] App start tracking is enabled. App start will be added to the first transaction as a child span.```