Agent v1.34.0

OTLP Destination, Source Detection, Health Metrics Expanded, and OTTL Dynamic Indexing Support.

April 3, 2025

Features & Improvements

  • OTLP Destination: The OTLP destination node is now in Beta. This enables broader observability pipelines with enhanced compatibility.
  • Source Detection: Added a parameter to override the environment type in Source Detection, improving testability and alignment across deployment types.
  • Health Metrics Expanded: Enabled health metrics by default. Filled in previously missing metrics: ed.pipeline.node.compactor_client.request.total, ed.pipeline.node.http.request.successful, and ed.pipeline.node.http.request.failed.
  • OTTL Dynamic Indexing Support: Upgraded OTTL to v0.122.0. Added dynamic indexing support for maps and slices. Adjusted custom parser logic for full compatibility.
  • Log Item Body Handling Improvements: Added support for any type in the body field of log items. Changed log item body representation from byte array to string, simplifying parsing and processing.
  • Compactor Logging Clarity: Improved internal logging by adding contextual identifiers to repeated error messages in the compactor, making traceability easier.

Bug Fixes

  • OTLP Output Buffer Serialization Fix: Switched OTLP pusher to use protobuf marshal/unmarshal to avoid gob serialization conflicts during buffering.
  • Config Reload Stability: Added a safeguard against nil pointer dereference during configuration reloads.
  • JSON Subsequence Parsing: Fixed JSON parser to properly handle nested inline objects, improving consistency with complex structures.
  • Self Log Enrichment Fixes: Resolved missing self log attributes for inputs, outputs, and processors. This ensures consistent telemetry enrichment across the board.
  • Health Item Cleanup: Removed lastError field from health entries to prepare for full deprecation of component_health node.
  • Sample Node Field Path Consistency: Removed unnecessary item wrapping in Sample node to match behavior of other OTTL nodes.
  • Demo Log Formatting: Prevented unwanted newline characters from being appended to demo log entries.
  • System & Container Traffic Stats: Fixed inaccurate system and container stats where traffic was reported as zero.

Security

  • [CVE-2025-30204] JWT Library Upgrade: Patched a high-severity vulnerability by upgrading github.com/golang-jwt/jwt to v4.5.1.