Prometheus Formatter

Makes plain Prometheus/OpenMetrics endpoints easier to read.

什么是Prometheus Formatter?

Prometheus Formatter是由Frederic Hemberger开发的Chrome扩展程序,该扩展的主要功能是“Makes plain Prometheus/OpenMetrics endpoints easier to read.”。

扩展截图

screenshot

下载Prometheus Formatter扩展crx文件

下载Prometheus Formatter扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        This extension is a simple syntax highlighter for Prometheus and OpenMetrics formats. Metric endpoints must use either HTTP Content-Type `application/openmetrics-text` or `text/plain`, according to spec.

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.

Source code is available on GitHub under MIT license.                    

扩展基本信息

名称 Prometheus Formatter Prometheus Formatter
ID jhfbpphccndhifmpfbnpobpclhedckbb
官方URL https://chromewebstore.google.com/detail/prometheus-formatter/jhfbpphccndhifmpfbnpobpclhedckbb
简介 Makes plain Prometheus/OpenMetrics endpoints easier to read.
文件大小 11.21 KB
安装次数 3,147
当前版本 3.1.0
更新时间 2023-09-11
上架时间 2020-07-04
评分 4.67/5 共12次评分
开发者 Frederic Hemberger
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/fhemberger/prometheus-formatter
帮助页面URL https://github.com/fhemberger/prometheus-formatter/issues
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Prometheus Formatter",
    "version": "3.1.0",
    "manifest_version": 3,
    "description": "Makes plain Prometheus\/OpenMetrics endpoints easier to read.",
    "homepage_url": "https:\/\/github.com\/fhemberger\/prometheus-formatter",
    "minimum_chrome_version": "88",
    "icons": {
        "32": "icons\/32.png",
        "48": "icons\/48.png",
        "128": "icons\/128.png"
    },
    "background": {
        "service_worker": "js\/background.js"
    },
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*\/*",
                "https:\/\/*\/*"
            ],
            "js": [
                "js\/content.js"
            ],
            "run_at": "document_start"
        }
    ],
    "action": {
        "default_popup": "html\/popup.html",
        "default_icon": {
            "32": "icons\/32.png",
            "48": "icons\/48.png",
            "128": "icons\/128.png"
        }
    },
    "permissions": [
        "storage"
    ]
}