Agent v1.31.0
2 minute read
March 10, 2025
Features & Enhancements
- Health Metrics for All Nodes & Components: Added health metrics to all nodes and components.
- Support for Compression/Decompression in OTTL: Added
EDXCompress,EDXDecompress, andEDXUnescapeJSONcustom OTTL functions, supporting GZIP, Snappy, and ZSTD compression, plus handling of multiply-escaped JSON strings. - Enable pprof from UI with TTL per Fleet: Added the ability to enable
pprofprofiling from the UI with a TTL per fleet, improving visibility into system performance. - Add Severity Text to Pattern Item Attributes: Included severity text in pattern item attributes for better categorization.
- Fleet Type & Environment Support in Nodespecs: Added supported pipeline types and environments to nodespecs to ensure proper input-to-pipeline compatibility.
Telemetry & Metrics Improvements
- Self-Telemetry Enhancements
- Deprecated
node_healthinput node in favor ofself_telemetry. - Ingested new dimensions (
ed.source.name,service.name) for outgoing metrics. - Ensured
obs_reportintegration tracks inbound/outbound traffic fromed_debug_output,prometheus_exporter_output, and other outputs. - Added
__metric_category: self_metric/diagnosticto diagnostic telemetry. - Removed double ingestion of self-diagnostic metrics by differentiating between classical and granular metrics.
- Deprecated
- Updated Size Calculation for
outgoing_bytes.sumMetric: Aligned data size calculations with log data size calculations in the archive, using a byte stream approach for consistency. - Set Timestamp for OTLP Input Log Type: Ensured logs received via OTLP input have a valid timestamp when missing.
Bug Fixes
- Fix
obs_reportUsage ined_output: Adjusted telemetry provider initialization to resolveobs_reportconsumption issues ined_output. - Fix Certain Processors Not Being Addable to Packs: Resolved an issue preventing specific processor nodes from being added to packs (formerly called compound nodes).
- Fix Validation for L2M Field Dimensions: Added missing validation checks for L2M processor dimensions.
- Fix Issues with JSON Marshalling of Resource Fields: Changed resource fields to use struct pointers instead of concrete structs, preventing empty object serialization.
Security Fixes
- Fix Multiple CVEs: Addressed security vulnerabilities: CVE-2024-45339, CVE-2025-22868, CVE-2025-22869.
Other Improvements
- Optimize
FlattenAnyToStringMethod: Improved memory allocation and execution time forFlattenAnyToString. - Replace
gopsutil/v3withgopsutil/v4: Upgradedgopsutilto v4 to resolve system stats collection issues on macOS. - Update Nodespecs for Elastic & Datadog Destinations:
- Fixed formatting issues in Elastic destination link.
- Standardized quotes in Datadog destination nodespecs.
- Added a Makefile target for creating nodespecs.
- Remove Default
GOMEMLIMITin Helm: Removed the defaultGOMEMLIMITvalue in Helm as auto-memlimit is now implemented.