prometheus/tsdb/wlog
Marco Pracucci c461e22341
Improve fast regexp matcher cache (#482)
* Limit FastRegexMatcher by size (bytes) and add a TTL to each entry

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Add TestNewFastRegexMatcher_CacheSizeLimit

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Tolerate ristretto goroutines when checking goroutine leaks

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Tolerate ristretto goroutines when checking goroutine leaks

Signed-off-by: Marco Pracucci <marco@pracucci.com>

---------

Signed-off-by: Marco Pracucci <marco@pracucci.com>
2023-04-17 15:20:58 +02:00
..
checkpoint.go
checkpoint_test.go
live_reader.go
reader.go
reader_test.go
watcher.go histograms: Add remote-write support for Float Histograms (#11817) 2023-01-13 16:39:20 +05:30
watcher_test.go histograms: Add remote-write support for Float Histograms (#11817) 2023-01-13 16:39:20 +05:30
wlog.go Feat: metrics for head_chunks & wal folders (#12013) 2023-03-02 15:25:56 +05:30
wlog_test.go Improve fast regexp matcher cache (#482) 2023-04-17 15:20:58 +02:00