SIGN IN SIGN UP

feat(new transform): Add new incremental_to_absolute transform and change to MetricSet to an LRU cache with optional capacity policies (#23374)

* add incremental_to_absolute

* fix docs

* fix tpos

* use sync

* fix extra aggregate

* remove interval_ms

* address comments

* use lru cache

* use max_bytes or max_events

* add debug print

* remove debug print

* use original cache impl

* restore original formatting

* use lrucache

* make some optimizations and fix clippy

* fix incr_to_absolute and absolute_to_incr

* fix

* add overhead

* simplify free_items

* Update lib/vector-core/src/event/metric/data.rs

Co-authored-by: Pavlos Rontidis <pavlos.rontidis@gmail.com>

* Make whitespace consistent

* fix

* fmt

* add more examples

* exclude cache overhead

* fix fmt

* add .

---------

Co-authored-by: Thomas <thomas.schneider@datadoghq.com>
Co-authored-by: Pavlos Rontidis <pavlos.rontidis@gmail.com>
D
Derek Zhang committed
904ed1df90cb8191df8bbcec09c2e329207ed598
Parent: 84dd39a
Committed by GitHub <noreply@github.com> on 8/27/2025, 6:23:11 PM