fhemberger / prometheus-formatter

Browser extension which makes plain Prometheus/OpenMetrics endpoints easier to read
126 stars 10 forks source link
chrome-extension edge-extension firefox-addon firefox-extension google-chrome-extension openmetrics prometheus

Prometheus Formatter

Browser extension which makes plain Prometheus/OpenMetrics output easier to read.

This extension is a simple syntax highlighter for Prometheus and OpenMetrics formats. For the highlighting to work, metric endpoints must use either HTTP Content-Type application/openmetrics-text or text/plain. For plain-text metrics, parsing is limited by default on URL paths matching '/metrics', '/federate', '/probe', '/prometheus' and '/actuator/prometheus'. By clicking on the extension's icon, you can define your own paths (Regular Expressions are supported), which will override the default list.

Before:

After:

For highlighting in the terminal: promcolor.

Installation

Option 1 – install it from the web store:

Option 2 – install it from source:

License

MIT