prometheus/web/ui
Lovisa Svallingson 04f723ca44 [Fix 3789]: storing/loading multiple graphs from URL (#3813)
* Fix JS error: cannot read source of undefined

When the page was refreshed with queries on the page,
the updateTypeaheadMetricsSet function was called before
the typeahead had been initialized.

* Fix: updates URL when query submits

When queries were submitted by pressing enter, the URL did not update
to reflect the change. Not sure why, but this was only the case when
the queries were non-simple, meaning when either labels werre specified
or other promql functions were used.

* Rebase master and make assets
2018-02-15 13:23:12 +07:00
..
static [Fix 3789]: storing/loading multiple graphs from URL (#3813) 2018-02-15 13:23:12 +07:00
templates Removed alert_header (#3836) 2018-02-14 13:15:39 +07:00
README.md Minor fixups to web/ui/README.md 2015-11-12 02:54:14 +01:00
bindata.go [Fix 3789]: storing/loading multiple graphs from URL (#3813) 2018-02-15 13:23:12 +07:00

README.md

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.