-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Performance monitoring (Custom Instrumentation) logs are not sent on Android #2682
Comments
@takahi5 can you enable |
@marandaneto Thank you for your support. Here is the log with
I ran the following code of measurement. useEffect(() => {
console.log('>>>> startTransaction');
const transaction = Sentry.startTransaction({name: 'test-transaction'});
const span = transaction.startChild({op: 'functionX'}); // This function returns a Span
// functionCallX
span.finish(); // Remember that only finished spans will be sent with the transaction
console.log('>>>> finishTransaction');
transaction.finish(); // Finishing the transaction will send it to Sentry
}, []); |
@takahi5 The logs look good. Seems like the SDK is sending the data. Do you maybe have dynamic sampling enabled in the Sentry UI? Can you also check
@takahi5 You can try to add const transaction = Sentry.startTransaction({ name: 'test-transaction', op: 'test-op' }); @markushi @romtsn |
I believe |
@krystofwoldrich @marandaneto |
#948 |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 4.11.0
react-native
version: 0.70.6Are you using Expo?
Are you using sentry.io or on-premise?
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(
@sentry/react-native
)I have following issue:
Performance monitoring (Custom Instrumentation) logs are not sent on Android
Steps to reproduce:
npx react-native init SampleApp
yarn add @sentry/react-native
npx @sentry/wizard -i reactNative -p ios android
Actual result:
❌ When I run Custom Instrumentation on Android, I cannot see any logs on sentry.io.
✅ No problem with Automatic Instrumentation.
✅ No problem with iOS.
✅ No problem with sentry-react-native v3.4.3. Seems to be a problem with v4 and above.
Expected result:
Custom Instrumentation performance logs to be sent by Android.
The text was updated successfully, but these errors were encountered: