Fixes
- Sample count in WAL batch segments. Fixed incorrect sample counting when adding segments to a batch: the segment now properly returns
sampleCountfromSamplesStorageand resets the counter, preventing miscounted ingestion metrics.
Features
- DefaultSampleAgeLimit feature flag. Added a feature flag to control the default sample age limit, allowing operators to enable or disable the age-based sample filtering without changing global configuration.
Enhancements
- Label limits applied at adapter level. The adapter now reads label limits from the global configuration via a new
ApplyConfigmethod and stores them atomically, ensuring label limits are enforced consistently without restarts. Configuration errors now cause an immediate exit to prevent silent misconfigurations.