MacroPower / prometheus-formatter

Browser extension which makes plain Prometheus metrics easier to read

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prometheus Formatter

Browser extension which makes plain Prometheus metrics easier to read.

This extension is a simple syntax highlighter for plain text Prometheus metrics. By default it works 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 suppported), which will override the default list.

before:

after:

Installation

Option 1 – install it from the web store:

Option 2 – install it from source:

  • Clone or download this repo
  • Google Chrome or Microsoft Edge:
    • Go to chrome://extensions/ respectively edge://extensions/,
    • enable "Developer mode",
    • click "Load unpacked extension",
    • select the extension folder in this repo.
  • Firefox:
    • Go to about:addons
    • From the Cog-Menu on the right choose "Install Add-On From File …"

License

MIT

About

Browser extension which makes plain Prometheus metrics easier to read


Languages

Language:JavaScript 79.3%Language:HTML 11.2%Language:Shell 9.6%