Do not start UI event transactions if there already is one on Scope · Issue #5491 · getsentry/sentry-java · GitHub
Skip to content

Do not start UI event transactions if there already is one on Scope #5491

Description

@romtsn

Description

At the moment we start a UI event transaction and then check if there's already an existing one on Scope - if yes, we do not set the UI event transaction to the Scope. But this makes it redundant anyway, because if the UI event transaction is not on the Scope, it will not have any children, and we do not send such idle transactions without children.

We could improve it and not start the transaction at all if there's something on the Scope already.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions