Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
chore: update otel opt-out list - remove request_data (#6359)
Kian Jones1d86baba2ff0
diff --git a/letta/otel/tracing.py b/letta/otel/tracing.pyindex 166bee54e..a646acd6b 100644--- a/letta/otel/tracing.py+++ b/letta/otel/tracing.py@@ -230,20 +230,24 @@ def trace_method(func):param_items = param_items[1:]# Parameters to skip entirely (known to be large)+ # This is opt-out: only skip specific large objectsSKIP_PARAMS = {"agent_state","messages","in_context_messages","message_sequence",- "content",+ "content", # File content, large text"tool_returns","memory","sources","context",- "resource_id",- "source_code",- "request_data",- "system",+ "source_code", # Full code files+ "system", # System prompts+ "text_chunks", # Large arrays of text+ "embeddings", # Vector arrays+ "embedding", # Single vectors+ "file_bytes", # Binary data+ "chunks", # Large chunk arrays}# Max size for parameter value strings (1KB)