Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

why beforeSend can not handle transaction event #5428

Answered by AbhiPrasad
theWorkFsz asked this question in Q&A
Discussion options

hey guys

I thought beforeSend would handle all events, but I see from the code that it seems to filter the events for transction type

Is this a feature or a bug?

Why can't beforeSend handle events of type transction or how do I configure it if I want to handle this type of event?

You must be logged in to vote

Hey! This is an intentional feature.

See the rationale behind the decision here: https://develop.sentry.dev/sdk/performance/#interaction-with-beforesend-and-event-processors

Replies: 1 comment 1 reply

Comment options

Hey! This is an intentional feature.

See the rationale behind the decision here: https://develop.sentry.dev/sdk/performance/#interaction-with-beforesend-and-event-processors

You must be logged in to vote
1 reply
Comment options

To filter out transactions, use the event processor api available in the sdk.

Answer selected by AbhiPrasad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /