Skip to content

pastrami-turtles/prom-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prom-tui

A simple terminal ui application to visualize Prometheus metrics.

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

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

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

Local development

Prereqs:

  • VS Code (incl. extentions)
    • ms-vscode-remote.remote-containers
  • Docker

Using the 'Remote - Containers' extension, the command 'Reopen in Container' will open the project within the configured container environment. This also starts a second container which exposes Prometheus metrics on http://localhost:8080/metrics.

About

Terminal UI for Prometheus metric endpoints.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published