Giter Club home page Giter Club logo

prometheus-formatter's Introduction

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:

  • 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.