snaggen / promviz

A Visualizer for Prometheus Metrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

promviz

A Prometheus Visualizer for the terminal, written in Rust

This is a fork of prom-tui, mostly to scratch my own itch. So, feature requests without a PR is very unlikely to happen.

Promviz showing the main window with a summary graph

Usage

Start with 'cargo run' and quit by pressing 'q'.

You can provide the endpoint to scrape in 2 ways:

  1. as CLI argument
  2. as env variable

In the case of the CLI argument run:

cargo run -- --endpoint "http://localhost:8081/metrics"

with the env variable

PROM_ENDPOINT=http://localhost:8081/metrics cargo run

If no endpoint is provided the default value is http://localhost:8080/metrics

About

A Visualizer for Prometheus Metrics

License:Other


Languages

Language:Rust 98.7%Language:Shell 1.2%Language:Dockerfile 0.1%