Skip to content

Add addToTransactions to Attachment #1185

@philipphofmann

Description

@philipphofmann

The SentryClient currently adds attachments to transactions

final SentryEnvelope envelope =
buildEnvelope(sentryTransaction, getAttachmentsFromScope(scope));

This can add a huge overhead when putting large attachments to the scope. In order to avoid this, we can add addToTransactions to attachments and set the default to false. The Python SDK already has this flag.

Metadata

Metadata

Labels

performancePerformance API issues

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions