VictoriaMetrics/app/vmui
dependabot[bot] 083044c3e2
build(deps-dev): bump @typescript-eslint/parser (#1843)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.4.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 16:43:37 +03:00
..
packages/vmui build(deps-dev): bump @typescript-eslint/parser (#1843) 2021-11-22 16:43:37 +03: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: actualize Dockerfiles 2021-08-11 13:41:41 +03:00
Dockerfile-web app/vmui/Dockerfile-web: update Go builder for vmui from v1.17.1 to v1.17.3 2021-11-14 13:55:05 +02:00
Makefile app/vmui: actualize Dockerfiles 2021-08-11 13:41:41 +03:00
README.md app/vmui/README.md: typo fix: naviate->navigate 2021-07-15 15:02:04 +03:00

vmui

Web UI for VictoriaMetrics

Features:

  • configurable Server URL
  • configurable time range - every variant have own resolution to show around 30 data points
  • query editor has basic highlighting and can be multi-line
  • chart is responsive by width
  • color assignment for series is automatic
  • legend with reduced naming
  • tooltips for closest data point
  • auto-refresh mode with several time interval presets
  • table and raw JSON Query viewer

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/