prometheus/util
George Krajcsovits fdaafdb041
tsdb: check for context cancel before regex matching postings (#14096)
* tsdb: check for context cancel before regex matching postings

Regex matching can be heavy if the regex takes a lot of cycles to
evaluate and we can get stuck evaluating postings for a long time
without this fix. The constant checkContextEveryNIterations=100
may be changed later.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-05-15 06:26:19 +02:00
..
almost refactor: extract almost.Equal() to new package 2024-05-08 13:42:10 +01:00
annotations
documentcli
fmtutil
gate
httputil golangci-lint: enable usestdlibvars linter 2024-04-08 19:26:23 +00:00
jsonutil
logging
osutil
pool
runtime
runutil
stats
strutil
teststorage promtool: Avoid using testify for user rule tests 2024-03-21 22:08:10 +11:00
testutil tsdb: check for context cancel before regex matching postings (#14096) 2024-05-15 06:26:19 +02:00
treecache
zeropool