Payload limits
Large prompts, retrieved documents, and tool outputs can make traces slow to send and painful to inspect.
Recommended limits (starting point)
- cap event string fields (e.g. 8–16KB)
- cap arrays (e.g. top 20 items)
- store raw blobs externally and attach references
What to store vs reference
Store inline:
- ids, scores, short summaries
- prompt template id/version
- small JSON outputs
Reference externally:
- full documents
- long chat histories
- large tool results (HTML, PDFs, big JSON)