Agent v1.19.0

Optimized Kubernetes API Interaction, Wildcard Field Support, Cached Environment Variables, and Map Folding Functions.

October 1, 2024

Enhancements

  • Optimized Kubernetes API Interaction: Redesigned the leader election lease process to minimize interactions with the Kubernetes API.
  • Wildcard Field Support: Enhanced the agent log threshold visitor to support wildcard fields.
  • Cached Environment Variables: Introduced a cache for the CEL environment function to reduce unnecessary system calls.

New Features

  • Map Folding Functions: Added new CEL functions fold_left and fold_right to facilitate in-place map attribute merging.

Bug Fixes

  • Diagnostic Upload Timeout: Increased the admin client timeout to resolve issues reported with uploading diagnostics to S3.
  • Kubernetes Input Error: Resolved error while editing Kubernetes input node.
  • OTLP Input Deadlock: Fixed a deadlock during the stop procedure by ensuring OTLP input channels are properly closed post-stop signal.
  • Logging Level Adjustment: Downgraded tracer/connection_monitor logs from ERROR level for non-fatal HTTP2 header decoding mismatches.
  • Kafka Source Node Fix: Corrected an issue where Kafka brokers were not correctly passed to the agent.
  • Elastic Cloud ID Format Validation: Updated validation messages to correctly reflect expected formats for Elastic Cloud IDs.
  • Kubernetes Consistency Adjustments: Adjusted K8s-related inputs to consistently use controller as the service.name field.
  • System Stats CPU Metrics on macOS: Fixed CPU metric collection for macOS by ensuring compatibility for non-CGO environments.