Skip to content

Add addToTransactions to Attachment #1185

Description

@philippsuess

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.

Activity

  1. added this to the 4.0.0 milestone on Jan 19, 2021
  2. changed the title [-]Add addToTransaction to Attachments[/-] [+]Add addToTransactions to Attachments[/+] on Jan 19, 2021
  3. bruno-garcia commented on Jan 19, 2021

    @bruno-garcia
    Member

    @philipphofmann we plan to release 4.0 next week, is this going to make into it?

  4. philippsuess commented on Jan 20, 2021

    @philippsuess
    Author

    @bruno-garcia I can take care of it.

  5. self-assigned this
    on Jan 20, 2021
  6. bruno-garcia commented on Jan 20, 2021

    @bruno-garcia
    Member

    Thanks @philipphofmann !

  7. added a commit that references this issue on Jan 21, 2021
    48c50de
  8. changed the title [-]Add addToTransactions to Attachments[/-] [+]Add addToTransactions to Attachment[/+] on Jan 21, 2021
  9. added a commit that references this issue on Jan 21, 2021
    765144c
  10. added a commit that references this issue on Jan 21, 2021
    d0502db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

performancePerformance API issues

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions