Skip to content

Do not send empty Route Change Transactions #3991

Open
@krystofwoldrich

Description

@krystofwoldrich

Description

In rare cases the SDK can send empty transaction named Route Change.

Actual

This happens when the navigation library API emits route change event but the current route api returns undefined.

Since route is undefined the SDK names the transaction Route Change, if no other auto instrumentation emits spans, the transaction will be empty.

Expected

The SDK should discard such a transaction as it doesn't contain any useful information. The SDK should record a dropped transaction, so we can observe frequency of this situation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions