Skip to content

Python SDK Truncation Logic #4172

@szokeasaurusrex

Description

@szokeasaurusrex

Implement parent issue for Python SDK

What is currently being trimmed (@sentrivana to provide a comprehensive list):

  • request bodies (default: "medium", can be exempted from trimming with "always")
  • databags (affects local vars too, max breadth: 10, max_depth: 5)
  • max value length (trims strings, default: 100 000, (before: 1024, but we increased this because we were trimming ai messages))
  • breadcrumbs (max 100)
  • transport queue (max 100)
  • spans in a transaction (max 1000)
  • some integrations have additional trimming logic (Redis: 1024 max data size)

See also:

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions