What's wrong with this entry?
The length at which telemetry content is truncated is now configurable via environment variables, and respects standard OpenTelemetry limit variables.
export CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH=8192 # Claude Code specific cap
# Or use standard OTel variables (Claude Code takes the minimum):
export OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT=4096
export OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT=4096
export OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT=4096- Previously the limit was hardcoded to 60 KB
- The truncation message now includes the actual limit:
[TRUNCATED - Content exceeds NKB limit]
Configurable limit implementation (search for "CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH", "OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.