prometheus/web/ui
James Turnbull 4486ef013b Make show annotations checkbox match query history checkbox (#3936)
After removing the checkbox in #3913 the only remaining element that
looked like it was the new Show Annotations checkbox on the Alerts page.
Which in turn didn't look like the Enable query history checkout on the
graph page. So:

1. This takes the Enable query history button as canonical.
2. Updates the show annotations button code to match it.
3. Simplifies the JS for the checkbox.
2018-03-09 14:39:28 +01:00
..
static Make show annotations checkbox match query history checkbox (#3936) 2018-03-09 14:39:28 +01:00
templates Make show annotations checkbox match query history checkbox (#3936) 2018-03-09 14:39:28 +01:00
bindata.go Make show annotations checkbox match query history checkbox (#3936) 2018-03-09 14:39:28 +01:00
README.md Place Service Discovery labels inline (#3872) 2018-02-24 19:44:37 +00: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 run make assets for this to work. This will put go-bindata in DEBUG mode where it serves from your local filesystem. This is for development purposes only.

After making changes to any file, run make assets (without the DEBUG=1) before committing to update the generated inline version of the file.