-
-
Notifications
You must be signed in to change notification settings - Fork 359
Description
What React Native libraries do you use?
Expo (mobile only)
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
7.8.0
How does your development environment look like?
System:
OS: macOS 15.7
CPU: (8) arm64 Apple M2
Memory: 152.41 MB / 16.00 GB
Shell: zsh 5.9
Binaries:
Node: 22.17.1
npm: 10.9.2
CocoaPods: 1.16.2
SDKs:
iOS SDK: iOS 26.0
Android SDK: Not Found
IDEs:
Android Studio: 2025.1
Xcode: 26.0.1/17A400
Languages:
Java: 25.0.1
npmPackages:
@react-native-community/cli: 20.0.0
react: 19.2.0
react-native: 0.83.0
@sentry/react-native: 7.8.0
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Sentry.init()
import * as Sentry from '@sentry/react-native';
export const navigationIntegration = Sentry.reactNavigationIntegration();
Sentry.init({
dsn: 'https://[email protected]/4510514102337536',
tracesSampleRate: 1.0,
replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 1,
integrations: [
navigationIntegration,
Sentry.reactNativeTracingIntegration({ idleTimeoutMs: 1000 }),
Sentry.mobileReplayIntegration(),
],
debug: DEV,
});
Steps to Reproduce
I created a simple react native application for mobile that demonstrates going through different pages and calling an error on the second page. Link for repro: https://github.com/colinkawai/SampleRateRN
Expected Result
I expect that traces to be attached to a replay when errorSessionSampleRate is 1. Currently in the replays section you'll see a replay with everything but the traces. The traces are sent still. I see it in the traces section. I expect either the replay id in the buffer to be attached to the current trace or vice versa where the trace id is attached to the replays.
Actual Result
There's no traces connected to replays in the replays view.
Metadata
Metadata
Assignees
Labels
Projects
Status