prometheus/rules
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
..
fixtures Rename "execution time" to "evaluation time". (#401) 2023-01-19 15:11:44 +00:00
alerting.go Fixing conflicts with commit 86d3d5fec6 2023-03-08 16:48:58 +01:00
alerting_test.go Fixing conflicts with commit 666f61a4d5 2023-03-08 16:54:40 +01:00
manager.go Merge remote-tracking branch 'upstream/main' into codesome/sync-prom 2023-03-22 08:35:08 +05:30
manager_test.go Improve fast regexp matcher cache (#482) 2023-04-17 15:20:58 +02:00
origin.go Panic if rule type was not expected 2023-01-20 10:27:50 +02:00
origin_test.go rules tests: use EmptyLabels instead of nil 2023-03-27 18:03:52 +00:00
recording.go Merge remote-tracking branch 'upstream/main' into sync-prom 2023-03-13 12:38:59 +05:30
recording_test.go Merge remote-tracking branch 'upstream/main' into sync-prom 2023-03-13 12:38:59 +05:30