This topic provides the release notes of LoongCollector.
Image repository address: aliyun-observability-release-registry.${region}.cr.aliyuncs.com/loongcollector/loongcollector
Examples:
Hangzhou region:
aliyun-observability-release-registry.cn-hangzhou.cr.aliyuncs.com/loongcollector/loongcollector:${image_tag}Singapore region:
aliyun-observability-release-registry.ap-southeast-1.cr.aliyuncs.com/loongcollector/loongcollector:${image_tag}
3.2.4
Release date: 2025-12-02
Image tag: v3.2.4.0-984bb5f-aliyun
New features
Upgraded Go to version 1.23.12 and upgraded the Docker Go software development kit (SDK).
Fixes
Fixed an issue where host monitoring data failed to be sent from the DiskBuffer.
Fixed a bug in the calculation of the average CPU usage for processes.
Fixed an issue where
input_filefailed on Docker v29 and later.Fixed a race condition in the Prometheus future.
3.2.3
Release date: 2025-11-27
New features
Added the
ProcessorTimestampFilterNativeprocessor for native timestamp filtering.Enabled GPU monitoring in the built-in HostMonitor pipeline.
Fixes
Removed invalid GPU Collector entries.
Improved error handling and logging for Flusher and SenderQueue.
Removed the unsupported pb protocol for Prometheus scraping.
Optimizations
Enhanced functionality for container state changes and improved compatibility with older Checkpoint configurations.
Improved compatibility for network metric collection.
Removed the index from log events to improve efficiency.
Added a fetch ratio metric to the pipeline monitor.
3.2.2
Release date: 2025-11-25
New features
Enabled GPU monitoring in the built-in HostMonitor pipeline.
Added self-monitoring metrics for host monitoring.
input_filenow supports collection from multiple paths.The SLS flusher now supports adding extra headers and metadata.
Prometheus now supports a host-only scrape mode.
Fixes
Removed invalid GPU Collector entries.
Fixed a bug where the disk collector did not collect data from unmounted disks.
Fixed a crash issue in the process collector.
Fixed an issue where FileServer was not paused when switching input types.
Fixed an issue where a reader could not be created for a symbolic link file.
Fixed an issue where a single event was not returned to the event pool.
Fixed an error in ConfigWatcherUnittest.
Fixed a calculation error for the
config_countmetric.Fixed a singleton conflict loop issue.
Fixed an issue with ECS metadata updates.
Optimizations
Improved the performance of span serialization and deserialization.
Reduced string copying in host monitoring.
Added a time annealing mechanism to the concurrency adjustment module.
Added timeout logic to the concurrency control code to prevent frequent retries.
Improved error handling and logging for Flusher and SenderQueue.
Enhanced queue management by adding retry logic and metrics.
Added reporting for process_queue metrics to the pipeline.
Added a target tag to the sender queue.
Added throttling to MetricSender to prevent extraBuffer from becoming full.
Resolved an issue that caused Golang time drift when tasks were slow.
Resolved an issue where regionconfig could contain duplicate elements.
3.2.1
Release date: 2025-10-29
New features
Added a GPU metric collector based on the NVIDIA Data Center GPU Manager (DCGM).
Integrated metric reporting in StaticFileServer.
Added a built-in pipeline to report container metadata.
input_static_file_onetime now supports reporting task status.
Added a retry_total counter to the SLS flusher.
Fixes
Fixed an issue where readers were not cleaned up when a file was deleted, which caused truncation issues when the inode was reused.
Fixed build issues on Windows.
Fixed a loading failure caused by an incorrect format in the region information dump.
Fixed an issue with crash stacks on Windows.
Fixed a crash on Windows that occurred when ExcludeDirs contained Chinese characters.
Fixed an issue with current working directory (cwd) handling for bind mount paths in the security input.
Optimizations
Task sending status.
Added plugin statistics to the status metrics.
Added more metadata to ECS metadata.
Added ECS metadata to the status metrics.
Migrated the container metadata matching logic to a C++ implementation.
3.2.0
Release date: 2025-09-23
New features
Enabled input_static_file_onetime and added basic end-to-end (E2E) tests.
Added internal configurations for host monitoring.
Integrated the simdjson library for high-performance JSON parsing.
LoongCollector now supports RAM authentication.
Fixes
Fixed multiple issues with eBPF plugin management and event handling.
Fixed a concurrency issue in the Timer class that caused monitoring points to be lost.
Corrected the file reading logic in InitFromFile.
Fixed a throttling issue in the flusher runner.
Fixed an issue where the network collector failed to obtain IPv6 information.
Fixed a memory leak in the process collector.
Fixed an issue where files were unexpectedly truncated when read by the ParseConfig function.
Fixed an issue with container file descriptor release when restoring from a checkpoint.
Added a GetFileSystemInformation cache for the disk collector.
Added E2E tests for eBPF file collection.
Fixed compilation issues for the commercial edition on Windows and updated the release manual.
Optimizations
Added support for data consistency between multiple host monitoring pipelines.
Added warnings and alerts for potential data loss in LogFileReader.
Reduced group creation to improve memory usage.
Optimized the memory footprint of Kubernetes (K8s) metadata entities.
Improved string parsing performance using string view.
Renamed metric flags in MetricSender.cpp.
3.1.7
Release date: 2025-11-11
New features
Added ECS information (including ACS and ECI) to agent metrics.
Added a metric for the current limit of the throttler.
Fixes
Fixed an issue where readers were not cleaned up when a file was deleted, which caused truncation issues when the inode was reused.
Fixed an issue with crash stacks on Windows.
Fixed a crash on Windows that occurred when ExcludeDirs contained Chinese characters.
Fixed compilation issues for the commercial edition on Windows and updated the release manual.
Optimizations
Added ECS metadata to the status metrics.
3.1.6
Release date: 2025-10-11
Fixes
Fixed issues with eBPF plugin management and event handling.
Fixed the file reading logic for reading metadata from the host.
Fixed an unexpected throttling issue in the flusher runner.
Optimizations
Added data loss alerts and warnings to LogFileReader.
Added ECS information (including ACS and ECI) to agent metrics.
Added a retry counter to the SLS flusher.
3.1.5
Release date: 2025-09-09
Fixes
Fixed a file read truncation issue in the ParseConfig function.
Fixed an issue with container file descriptor release when restoring from a checkpoint.
Fixed an issue where the built-in pipeline was unexpectedly uninstalled.
Fixed an issue where feedback caused timeout events to be popped.
Optimizations
Optimized the memory footprint of K8s metadata entities.
3.1.4
Release date: 2025-08-27
New features
Added support for obtaining runtime information from the kernel.
Added support for the vendor-neutral environment variable prefix LOONG_ while maintaining backward compatibility with ALIYUN_.
Fixes
Fixed an issue where self-monitoring was missing for v2 pipeline inputs.
Fixed a memory safety issue with process cache values.
Enhanced timeout and zero-width regex warnings for the Desensitize, Grok, and StringReplace processors.
Optimizations
Optimized the performance of eBPF file collection.
EntityCollector now supports earlier versions of K8s (below 1.21).
Added an extra source buffer to PipelineEventGroup.
3.1.3
Release date: 2025-08-08
New features
Added the ProcessCollector for process collection.
Added the NetCollector for network collection.
Fixes
Fixed an issue with restoring collection progress from older checkpoints to avoid duplicate collection.
Optimizations
Improved the performance of multi-threaded regex parsing.
Optimized the protobuf transmission of K8s metadata.
Modified the implementation of the CPU collector.
NetworkObserver now supports multiple configurations.
eBPF plugins now uniformly use epoll to obtain data.
Added type checking for configuration changes.
Added alert levels to alert information.
3.1.2
Release date: 2025-07-25
Fixes
Fixed a crash issue in K8s metadata collection.
Fixed an issue where HashKeys were not applied during data transformation.
Fixed an issue where the SSL library was not correctly linked due to gRPC compilation.
Fixed an issue where RotatorReader did not close files when a container stopped.
Fixed an issue where tags were lost when new environment variable configurations were added.
Fixed instruction set compatibility issues and added a CPU instruction set check script to the continuous integration (CI) process to ensure build environment compatibility.
Optimizations
Refactored the eBPF Server thread model to improve concurrency and stability.
Updated the K8s metadata configuration to add upsert logic for cluster entities.
3.1.1
Release date: 2025-07-02
Fixes
Fixed an issue on the Ubuntu operating system where the tail mode for journal log collection failed.
Fixed an issue where RotatorReader did not close files when a container stopped.
Fixed a crash that occurred when self-monitoring metrics were processed during DoSnapshot.
Fixed docker inspect timeouts.
Fixed a start_time overflow issue in the self-monitoring metrics of the eBPF parsing module.
The management interface now supports the hardened mode for ECS metadata.
Optimizations
Refactored the eBPF Server thread model to improve concurrency and stability.
Updated the K8s metadata configuration to add upsert logic for cluster entities.
3.1.0
Release date: 2025-06-16
Fixes
Fixed a standard output collection failure in ACS scenarios with the new version.
Fixed a crash caused by incorrect JSON log parsing with the GBK encoding format.
Fixed a crash caused by an incorrect null value check when the container runtime was unstable.
Removed meaningless \0 characters to improve data processing accuracy.
New features
Added support for eBPF security scenarios.
3.0.12
Release date: 2025-06-04
Fixes
Fixed an issue in the container runtime detection logic where the Docker client status was incorrectly determined during a retry.
Fixed an issue that caused garbled text due to incorrect timing of data pointer release during pipeline updates.
Used the current time as a fallback when the SPL parsing time is invalid.
Updated the client-go dependency library to fix an issue with abnormal event generation in Logtail.
Fixed an issue where the Golang logging module would hang when the disk was full, causing log collection to be interrupted.
3.0.11
Release date: 2025-05-22
Fixes
Fixed a NullPointerException for some data types in K8s metadata.
Fixed a crash caused by the incorrect use of weak_ptr.
Fixed an issue where the older standard output collection plugin did not completely collect the last part of the logs when a container stopped.
Optimizations
The container runtime detection logic now supports the Container Runtime Interface (CRI) v1, adapting to containerd 2.0.
Updated K8s metadata association types.
Added a restriction to K8s metadata association types, allowing only cluster-level resources to be associated with a cluster.
3.0.10
Release date: 2025-04-24
Fixes
LoongCollector now skips abnormal cache files on disk during restarts.
Updated the runc library to fix a file descriptor leak vulnerability.
Optimizations
Added multi-threaded support for multi-line log splitting scenarios to improve performance.
3.0.9
Release date: 2025-04-07
Fixes
Fixed an issue with instance configuration delivery for the commercial edition.
Fixed an issue where log stack information was incorrect when a C++ module crashed.
3.0.8
Release date: 2025-04-01
Fixes
Fixed an issue in Linux scenarios where the directory path was concatenated incorrectly when the path in the collection configuration was the root directory.
K8s metadata now supports namespace entities.
Fixed an issue in container scenarios where concurrent writes caused incorrect mount information in the container details.
Fixed a deadlock issue caused by send timeouts.
Added support for DiscardingNonUTF8 in the native filtering plugin.
Optimizations
Updated the SPL version.
Metric data sending now supports out-of-order data at a one-minute granularity.
3.0.7
Release date: 2025-03-14
Fixes
Fixed a use-after-free pointer issue in the timeout sending module during AliyunPipelineConfig collection configuration updates.
3.0.6
Release date: 2025-03-03
Fixes
Fixed an issue where the SLS metric format was disabled by default for metric data sending.
Fixed the exception handling logic in the Kafka Input plugin to prevent premature returns.
New features
Added support for setting the TCP Type of Service (TOS) field in curl.
3.0.5
Release date: 2025-02-20
Fixes
Fixed an issue in the Go code where the logstoreconfig object could not be reclaimed by the Garbage Collector due to a circular reference.
Fixed a sending failure caused by local configurations when upgrading from iLogtail to LoongCollector.
Fixed a collection interruption in container scenarios that occurred when collecting PersistentVolume (PV) files because the container state was incorrectly identified as stopped.
Optimizations
Added configuration names to alert information.
3.0.4
Release date: 2025-02-14
Fixes
Fixed an issue with incorrect C++ source tags.
Fixed a parsing issue with the last log line in container standard output scenarios.
Fixed a deadlock issue in LogtailMonitor during self-termination.
3.0.2
Release date: 2025-02-07
Limitations
Only the log collection feature is supported.