VictoriaMetrics/app/vmui
Aliaksandr Valialkin c723ac6a8f
app/vmui: small fixes
* Remove unneeded dependency on `numeral` package
* Properly parse numbers obtained from /api/v1/query_range according to
  https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats
* Optimize updating processing the received data from /api/v1/query_range
* Make smoother zoom on `ctrl+scroll`
* Reduce the number of points received from /api/v1/query_range by 2x in order to reduce load on backend
2022-02-14 16:31:31 +02:00
..
packages/vmui app/vmui: small fixes 2022-02-14 16:31:31 +02:00
.gitignore app/vmui: move source code from https://github.com/VictoriaMetrics/vmui to app/vmui 2021-07-09 17:13:51 +03:00
Dockerfile-build vmui: switching to Preact (#2053) 2022-01-11 10:34:01 +02:00
Dockerfile-web app/vmselect/vmui: make vmui-update 2021-11-29 12:23:12 +02:00
Makefile app/vmui: actualize Dockerfiles 2021-08-11 13:42:53 +03:00
README.md app/vmui/README.md: remove features chapter, since it lists unimportant and/or misleading features 2021-12-09 19:51:33 +02:00

vmui

Web UI for VictoriaMetrics

Docker image build

Run the following command from the root of VictoriaMetrics repository in order to build victoriametrics/vmui Docker image:

make vmui-release

Then run the built image with:

docker run --rm --name vmui -p 8080:8080 victoriametrics/vmui

Then navigate to http://localhost:8080 in order to see the web UI.

Static build

Run the following command from the root of VictoriaMetrics repository for building vmui static contents:

make vmui-build

The built static contents is put into app/vmui/packages/vmui/ directory.

Updating vmui embedded into VictoriaMetrics

Run the following command from the root of VictoriaMetrics repository for updating vmui embedded into VictoriaMetrics:

make vmui-update

This command should update vmui static files at app/vmselect/vmui directory. Commit changes to these files if needed.

Then build VictoriaMetrics with the following command:

make victoria-metrics

Then run the built binary with the following command:

bin/victoria-metrics -selfScrapeInterval=5s

Then navigate to http://localhost:8428/vmui/. See these docs for more details.