Skip to content

Send all events to /envelope endpoint when tracing is enabled #2009

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

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Apr 12, 2023

When tracing is enabled we can safely send all events to /envelope. The dynamic sampling context (DSC) is sent with all envelopes.

The legacy /store endpoint will be removed in the future.

Fixes #2008

Copy link
Member

@cleptric cleptric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We considered this change only to apply if "propagation" is enabled.
As we didn't define what this will be, I'm not in favour of merging this just yet.
Especially since this will be a hidden change in behaviour and not a new opt-in mechanism.

HazAT
HazAT previously requested changes Apr 12, 2023
Copy link
Member

@HazAT HazAT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change is fine, a test would be nice - not just to test the functionality but to make sure when we change this behavior it breaks so we consciously do it.

@antonpirker antonpirker dismissed HazAT’s stale review April 13, 2023 15:06

Test have been added!

@antonpirker antonpirker merged commit ac8f812 into master Apr 19, 2023
@antonpirker antonpirker deleted the antonpirker/2008-use-envelope-for-all-events-when-performance-enabled branch April 19, 2023 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use /envelope endpoint for all events when performance is enabled
4 participants