VictoriaMetrics/app/vmui
Aliaksandr Valialkin 4deea604bf
app/vmui: follow-up after f6d31f5216
- Document the feature at docs/CHANGELOG.md.
- Document the metrics explorer at https://docs.victoriametrics.com/#metrics-explorer .
- Properly set `start` and `end` args for the selected time range
  when performing the request, which returns metric names.
- Improve queries, so they return lower number of lines and labels.
  This should improve metrics' exploration.
- Properly encode label filters and query args before passing them to VictoriaMetrics.
- Various cosmetic fixes.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3386
2022-12-22 17:17:01 -08:00
..
packages/vmui app/vmui: follow-up after f6d31f5216 2022-12-22 17:17:01 -08:00
.gitignore app/vmui: move source code from https://github.com/VictoriaMetrics/vmui to app/vmui 2021-07-09 17:15:23 +03:00
Dockerfile-build app/vmui: execute query by pressing enter in the same way as Prometheus does 2022-05-02 19:49:29 +03:00
Dockerfile-web all: update Go builder from v1.19.3 to v1.19.4 2022-12-08 16:41:24 -08:00
Makefile app/vmui: actualize Dockerfiles 2021-08-11 13:41:41 +03:00
README.md app/vmui/README.md: remove features chapter, since it lists unimportant and/or misleading features 2021-12-09 19:50:25 +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.