#data #parse #json #jq #promethues

bin+lib prom2jsonrs

A utility to parse promethues data as json

1 unstable release

0.1.0 Dec 30, 2020

#36 in #jq

MIT/Apache

15KB
344 lines

prom2jsonrs

A (very) simple utility to parse promethues data as json. Inspired from the Golang tool prom2json

Example Usage

prom2jsonrs http://localhost:9090/metrics  | jq

TODO's

  • Better error handling
  • Add support for specifying options for the http(s) request

Dependencies

~8–13MB
~264K SLoC