mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 17:13:22 +00:00
81d37a04aa
For some of the queries, the fuzzy lookup was not filtering properly. The problem is due to the "replace" beind made on the query itself. It accidently removes only the first underscore. This patch changes it so that it removes all of the whitespaces, letting the fuzzy algorithm do its magic, also fixing this problem. Originally, the underscore were replaced by a space for this specific reason, to let the user type a space and have the lookup treat it as the word break. Fixes #2380 |
||
---|---|---|
.. | ||
api/v1 | ||
ui | ||
federate_test.go | ||
federate.go | ||
web_test.go | ||
web.go |