/promcli

A shell for loading Prometheus metrics fixtures and evaluating Prometheus expressions

Primary LanguageGo

 ____                       ____ _     ___ 
|  _ \ _ __ ___  _ __ ___  / ___| |   |_ _|
| |_) | '__/ _ \| '_   _ \| |   | |    | | 
|  __/| | | (_) | | | | | | |___| |___ | | 
|_|   |_|  \___/|_| |_| |_|\____|_____|___|

CLI shell for Prometheus for testing Prometheus PromQL expressions. This allows users to manually add metrics and evaluate PromQL expressions against the metrics for testing purposes.

Demo

Demo

Try it

Easiest way to try it is with docker:

docker run -it kevinjqiu/promcli

Install

go get github.com/kevinjqiu/promcli

Build

git clone https://github.com/kevinjqiu/promcli.git
deps ensure
make build