Makes plain Prometheus/OpenMetrics endpoints easier to read.

Latest Version

Version
3.1.0
Update
September 11, 2023
Size
11.21KiB
Developer
Category
Users
3,000+
Rating
4.77778 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

Prometheus Formatter Extension

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.
Read more

Source 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" ]}
Read more

How to download and manually install Prometheus Formatter extension for Chrome

Looking for a way to install Prometheus Formatter extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Prometheus Formatter extensions manually, this article outlines two simple methods to effortlessly install Prometheus Formatter extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Prometheus Formatter extension and manually install through Drag &Drop

If you ever need to manually install a Prometheus Formatter extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Prometheus Formatter Extension by clicking the "Download CRX" button on the website.

Look for the Prometheus Formatter extension you wish to install. Go to the website and download the Prometheus Formatter extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Prometheus Formatter extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Prometheus Formatter extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Prometheus Formatter extension for Chrome and install in Developer Mode

This is another method to install Prometheus Formatter extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Prometheus Formatter extension file

Select and download the Prometheus Formatter extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Prometheus Formatter extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Prometheus Formatter extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Prometheus Formatter extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Prometheus Formatter extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Prometheus Browser Extension · Developer Tools 3,000+ 2 ★ 2.84MiB

icon

Grafana - Enhancement Extension · Productivity 3,000+ 0 ★ 592KiB

icon

Octotree - GitHub code tree Extension · Developer Tools 3,000+ 1139 ★ 3.54MiB

icon

Asciidoctor.js Live Preview Extension · Productivity 3,000+ 76 ★ 3.93MiB

icon

Prometheus Viewer Extension · Developer Tools 3,000+ 3 ★ 150KiB

icon

Smart Websocket Client Extension · Developer Tools 3,000+ 43 ★ 261KiB

icon

Prometheus monitor Extension · Developer Tools 3,000+ 1 ★ 1.24MiB

icon

PagerDuty Notifier Extension · Productivity 3,000+ 11 ★ 42.9KiB

icon

AWS Extend Switch Roles Extension · Developer Tools 3,000+ 82 ★ 82.44KiB

icon

JetBrains Toolbox Extension Extension · Developer Tools 3,000+ 119 ★ 243KiB

icon

Elasticvue Extension · Developer Tools 3,000+ 73 ★ 3.43MiB

icon

Sourcegraph Extension · Developer Tools 3,000+ 169 ★ 8.22MiB

icon

Refined GitHub Extension · Developer Tools 3,000+ 213 ★ 572KiB

icon

OctoLinker Extension · Developer Tools 3,000+ 110 ★ 184KiB

icon

Better Pull Request for GitHub Extension · Developer Tools 3,000+ 211 ★ 405KiB

icon

JSON-YAML Toggle Extension · Developer Tools 3,000+ 2 ★ 87.48KiB

icon

Syntaxtic! Extension · Developer Tools 3,000+ 200 ★ 106KiB

icon

GitLab - Tree view for code Extension · Developer Tools 3,000+ 15 ★ 23.06KiB

icon

swagger-viewer Extension · Developer Tools 3,000+ 8 ★ 411KiB

icon

Gitako - GitHub file tree Extension · Developer Tools 3,000+ 78 ★ 1.96MiB

icon

Simple WebSocket Client Extension · Developer Tools 3,000+ 97 ★ 53.95KiB

icon

Notifier for GitHub Extension · Developer Tools 3,000+ 54 ★ 75.23KiB

icon

Sight Extension · Developer Tools 3,000+ 248 ★ 871KiB

icon

SpanTree Extension · Developer Tools 3,000+ 28 ★ 473KiB

User reviews

icon

Junio Cezar (ID: 0000009cfcd410cf) Voted 5 ★ - Updated 10/19/2023 Simple to use and does what it proposes to do. :)

icon

Sai Diliyaer (ID: 00000014211e083b) Voted 5 ★ - Updated 02/24/2022 Simple and easy to use, love it!

icon

Harry Martland (ID: 000000fbcc833001) Voted 5 ★ - Updated 07/23/2020 Bob on

icon

Rubén Cougil (ID: 000000da244da492) Voted 5 ★ - Updated 07/18/2020 Fantástico

icon

Jack Yeh (ID: 000000f3bd861dd2) Voted 5 ★ - Updated 02/06/2020 This is a wonderful extension, would you ever consider adding a dark mode to make it even easier on the eyes? Thanks very much for making this!