promviz
v0.2.3
Published
prometheus metrics visualizer
Downloads
9
Readme
promviz
Visualize Prometheus metrics as a sunburst graph, broken down by namespace and subsystem.
Features
- filter metrics by name, regexp
- load JSON data from URL
- show a nice graph
Contents
Getting Started
- clone this repo
- into a gitpod: https://gitpod.io/#https://github.com/ssube/promviz/tree/master
- locally:
git clone [email protected]:ssube/promviz.git
- get some metric names
- run
psql -f scripts/index-names.sql
against your Prometheus SQL adapter database - or use the included names from
src/resource/names.json
- run
- build the graph app:
make
a bundle- or
Terminal -> Run Task -> Serve
in gitpod
- serve
out/
:SERVE=TRUE make
- or
docker run --name promviz-nginx -p 10001:80 -v $(pwd)/out:/usr/share/nginx/html:ro nginx
- navigate to http://localhost:10001/index.html or the gitpod port