prometheus/web/ui
Or Cohen 93d20d2d2b Improve fuzzy search
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.
2017-02-05 17:38:05 +02:00
..
static Improve fuzzy search 2017-02-05 17:38:05 +02:00
templates Improve fuzzy search 2017-02-05 17:38:05 +02:00
bindata.go Improve fuzzy search 2017-02-05 17:38:05 +02:00
README.md Minor fixups to web/ui/README.md 2015-11-12 02:54:14 +01:00

The ui package contains static files and templates used in the web UI. For easier distribution they are statically compiled into the Prometheus binary using the go-bindata tool (c.f. Makefile).

During development it is more convenient to always use the files on disk to directly see changes without recompiling. Set the environment variable DEBUG=1 and compile Prometheus for this to work. This is for development purposes only.

After making changes to any file, run make assets before committing to update the generated inline version of the file.