mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 14:09:41 -08:00
f72cabb437
* Add sorting and filtering to flags page Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * Make filter understand Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * split big state object into smaller ones Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * use fuzzy match and sanitize html for search results Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * use fuzzy.filter Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * replace fuzzy lib by @nexucis/fuzzy + fix flags issues Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * replace fuzzy by @nexucis/fuzzy in ExpressionInput.tsx Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * remove fuzzy lib from package.json Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * fix flags test Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * simplify the input in the fuzzy search Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * cleanup html to be easily compatible with the dark theme Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * fix filtering when there is no result Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * use id to fix the test Signed-off-by: Augustin Husson <husson.augustin@gmail.com> Co-authored-by: Dustin Hooten <dustinhooten@gmail.com> |
||
---|---|---|
.. | ||
react-app | ||
static | ||
templates | ||
assets_generate.go | ||
doc.go | ||
README.md | ||
ui.go |
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.