G-Research / geras

Geras provides a Thanos Store API for the OpenTSDB HTTP API. This makes it possible to query OpenTSDB via PromQL, through Thanos.
https://github.com/G-Research/geras
Apache License 2.0
38 stars 16 forks source link

Regexp wildcard simplication #77

Closed dgl closed 4 years ago

dgl commented 4 years ago

OpenTSDB can do more efficient queries if given a wildcard rather than a regexp. Simplify regexps that can be into a wildcard (i.e. foo.* -> foo*).

dgl commented 4 years ago

PTAL