mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
4262ad92ce
* Adds the query stats to UI Adds the query load time, resolution and total number of time series, as the current UI has Signed-off-by: cstdev <pietomb00@hotmail.com> * Implement unit test for QueryStats Signed-off-by: cstdev <pietomb00@hotmail.com> * Tidy Query Stats component Rename it and expose a interface for the values it displays Make it a functional component as it has no state or lifecycle Better null/undefined checks Only render if needed, decided by the panel Remove old stats if the next errors Signed-off-by: cstdev <pietomb00@hotmail.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
.
This will serve all files from your local filesystem. 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.