pumano / vmui

UI monorepo for VictoriaMetrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packages

victoria-metrics-ui

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

In order to see docker-related instructions please see Readme inside the package

In order to build on any machine with stable NodeJS:

cd packages/victoria-metrics-ui
npm install
npm run build

this generates a bundle with static site (in build folder) that can be deployed anywhere. Total size is around 950 KB.

In order to gather some metrics locally:

brew install --cask docker # if you don't have docker
open /Applications/Docker.app # if you don't have docker running
docker run -it --rm -v ~/:/victoria-metrics-data -p 8428:8428 victoriametrics/victoria-metrics --selfScrapeInterval=10s # will gather data to the user's folder

About

UI monorepo for VictoriaMetrics

License:Apache License 2.0


Languages

Language:TypeScript 92.3%Language:HTML 2.4%Language:JavaScript 1.3%Language:Makefile 1.3%Language:CSS 1.1%Language:Go 0.9%Language:Dockerfile 0.7%