mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 22:49:40 -08:00
93d20d2d2b
The fuzzy library didn't try to find a "best match", but settled on the first fuzzy match that exists. This patch includes a modified version of the fuzzy library, which recursivley tries on the rest of the search string to find a better match. If found, returns that one. Another small modification is that if a pattern fully matches, it skips the lookup entirley and returns the highest score possible for that match. |
||
---|---|---|
.. | ||
_base.html | ||
alerts.html | ||
config.html | ||
flags.html | ||
graph.html | ||
rules.html | ||
status.html | ||
targets.html |