getsentry / getsentry/sentry-java

Do not set TraceContext.origin for exceptions when no active transaction available

Open
#3,143 3 comments 1 reaction 0 assignees View on GitHub
Android Improvement Traces
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

### Description

https://sentry-sdks.sentry.io/issues/4567235831/?project=5428559&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=7d&stream_index=0

![image](https://github.com/getsentry/sentry-java/assets/4999776/33315a74-faa7-4c3c-bb57-6074d7bc4eb4)

After TwP we set the trace origin to `manual` by default, but probably we shouldn't just set it for errors if there's no active transactions, otherwise it looks a bit weird

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.