[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#979359: ITP: golang-github-prometheus-prom2json -- tool to scrape a Prometheus client and dump the result as JSON



Package: wnpp
Severity: wishlist
Owner: Cyril Brulebois <cyril@debamax.com>

* Package name    : golang-github-prometheus-prom2json
  Version         : 1.3.0-1
  Upstream Author : Prometheus
* URL             : https://github.com/prometheus/prom2json
* License         : Apache-2.0
  Programming Lang: Go
  Description     : 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.


Part of the crowdsec packaging effort:
  https://lists.debian.org/debian-go/2020/12/msg00019.html


This package comes with a prom2json command (skipped for now) that looks
like it could be useful on its own, but I don't know the Prometheus
ecosystem well enough to judge its usefulness. If anyone would like
another binary package to be added, shipping this command, this can
definitely be considered.


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/

Attachment: signature.asc
Description: PGP signature


Reply to: