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
    • we can make always the default
  • 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

See also:

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions