Skip to content

Slim down outgoing payload in span processor #4329

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

Closed
sentrivana opened this issue Apr 28, 2025 · 0 comments
Closed

Slim down outgoing payload in span processor #4329

sentrivana opened this issue Apr 28, 2025 · 0 comments

Comments

@sentrivana
Copy link
Contributor

sentrivana commented Apr 28, 2025

Make a list of span attributes that are internal to the SDK and can be omitted from the final span/transaction payload in the span processor.

The flags counter is one example. Maybe some of the sampling context stuff?

@szokeasaurusrex szokeasaurusrex added the Task label Apr 28, 2025 — with Linear
@sentrivana sentrivana self-assigned this Apr 28, 2025
sentrivana added a commit that referenced this issue Apr 28, 2025
Introduce the convention of underscore-prefixed span attributes. These
won't be sent to Sentry and are meant for internal SDK usage.

Changed `flag.count` to internal. Looked through the rest of the attrs
we're setting and that stuff requires a big comprehensive cleanup
altogether to make stuff align with OTel. Didn't touch anything else for
now.

Closes #4329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants