Skip to content

Python SDK Truncation Logic #4172

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions