Skip to content

Python SDK Truncation Logic #4172

@szokeasaurusrex

Description

@szokeasaurusrex

Implement parent issue for Python SDK

What is currently being trimmed:

  • request bodies (default: "medium", can be exempted from trimming with "always")
    • possibility to adjust max_request_body_size should stay
  • databags (affects local vars too, max breadth: 10, max_depth: 5)
    • limit should be removed
  • max value length (trims strings, default: 100 000, (before: 1024, but we increased this because we were trimming ai messages)
    • limit should be removed/bumped very high
  • breadcrumbs (max 100)
    • limit should stay
  • transport queue (max 100)
    • limit should stay
  • spans in a transaction (max 1000)
    • limit should stay
  • some integrations have additional trimming logic (Redis: 1024 max data size)
    • limit should be removed
  1. Double-check the leave/remove trimming decisions above with @cleptric and/or @adinauer's Notion doc.
  2. Test removing individual limits wrt to issue grouping in Sentry. If grouping changes, it's a breaking change.

See also:

Sub-issues

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions