Colorize Prometheus metric output on the terminal.
promcurl -u http://prmths/metrics |
|
promcurl -n -u http://prmths/metrics (--nocomments) |
Colors are chosen sensibly to be readable on both dark and bright terminal profiles, but having a darker terminal is better.
Available for Linux and MacOS: Latest Release
go get github.com/danielb42/promcurl
Pull requests welcome for parsing corner cases or improving coloring.