How to Install and Uninstall golang-github-prometheus-prom2json-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 23,2024

1. Install "golang-github-prometheus-prom2json-dev" package

In this section, we are going to explain the necessary steps to install golang-github-prometheus-prom2json-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-prometheus-prom2json-dev

2. Uninstall "golang-github-prometheus-prom2json-dev" package

Please follow the guidance below to uninstall golang-github-prometheus-prom2json-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-prometheus-prom2json-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-prometheus-prom2json-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-prometheus-prom2json-dev
Architecture: all
Version: 1.3.0+ds1-2
Priority: optional
Section: universe/golang
Source: golang-github-prometheus-prom2json
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37
Depends: golang-github-davecgh-go-spew-dev, golang-github-prometheus-client-model-dev, golang-github-prometheus-common-dev, golang-protobuf-extensions-dev
Filename: pool/universe/g/golang-github-prometheus-prom2json/golang-github-prometheus-prom2json-dev_1.3.0+ds1-2_all.deb
Size: 9256
MD5sum: 8f228b34526e85acc37daa51bbf4e6af
SHA1: e76a7255b063e3b6547e94fd5bc38eb4decc6019
SHA256: bf498f96248bc637816f699cb851c1ac94da8e55f5e8bd462c5c56a1196890f4
SHA512: 132b29bd0d20f98d416620db6c2fb88a819c46b279d2dbcdd2a3c2f9677767e13870005abbba5971a044148ed1001a9e48c436a8d96cdd5beec6df39eee3f035
Homepage: https://github.com/prometheus/prom2json
Description-en: tool to scrape a Prometheus client and dump the result as JSON (library)
Since the deprecation of the JSON exposition format, looking into
metrics exposed by Prometheus can be a challenge, as one would
usually need to interact with the Prometheus server and its protocol
buffer format. Since JSON is a wildly-supported format, prom2json was
designed to scrape a Prometheus client in protocol buffer or text
format, in order to make the results available in JSON format.
Description-md5: 845b434dbb6d76fec887d2dbd3139b54