prometheus/web
Or Cohen 81d37a04aa Fix autocomplete misses certain queries
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
2017-02-05 16:20:52 +02:00
..
api/v1 web/api: make target and alertmanager api responses consistent 2017-01-16 11:53:00 +01:00
ui Fix autocomplete misses certain queries 2017-02-05 16:20:52 +02:00
federate_test.go web: add more federation test scenarios 2016-09-15 15:23:55 +02:00
federate.go web: add error counter for federation responses 2016-12-06 16:09:50 +01:00
web_test.go Add missing license headers 2016-04-13 16:08:22 +02:00
web.go web/api: add alertmanager api 2017-01-13 15:30:20 +01:00