mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
8763dedb9d
Fixes https://github.com/prometheus/prometheus/issues/4407 Signed-off-by: Julius Volz <julius.volz@gmail.com> |
||
---|---|---|
.. | ||
static | ||
templates | ||
bindata.go | ||
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.
To make this work, set the environment variable DEBUG=1
, run make assets
, and then make build
.
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.