prometheus/web/ui
Sylvain Rabot 6a00626ee9
Display dates as well as timestamps in status page (#7544)
* Display dates as well as timestamps in the status page

Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>

* Trim trailing whitespaces

Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2020-07-10 00:08:43 +02:00
..
react-app web/ui/react-app: bump elliptic package version (#7477) 2020-06-29 10:28:05 +02:00
static Web: Scroll hash-fragment links with navbar height (#7456) 2020-06-27 09:12:11 +02:00
templates Display dates as well as timestamps in status page (#7544) 2020-07-10 00:08:43 +02:00
README.md Update more web/ui/README.md bits for new UI (#6197) 2019-10-25 10:19:21 +02:00
assets_generate.go Integrate beginning of React UI (#5694) 2019-10-17 14:38:09 +02:00
doc.go Integrate beginning of React UI (#5694) 2019-10-17 14:38:09 +02:00
ui.go Fix golint issues. 2020-03-23 20:38:43 +01:00

README.md

The ui directory contains static files and templates used in the web UI. For easier distribution they are statically compiled into the Prometheus binary using the vfsgen library (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, remove the builtinassets build tag in the flags entry in .promu.yml, and then make build (or build Prometheus using go build ./cmd/prometheus).

This will serve all files from your local filesystem. This is for development purposes only.