Sign inSign up

moznion/prom2jsond

By moznion

Updated over 8 years ago

A HTTP daemon for prom2json

Image
0

339

moznion/prom2jsond repository overview

Usage

Options
  -accept-invalid-cert
        Accept any certificate during TLS handshake. Insecure, use only for testing.
  -cert string
        certificate file
  -key string
        key file
  -path string
        path to expose (default "/")
  -port int
        port number to expose (default 80)
  -prom2jsoncmd string
        [MANDATORY] executable prom2json command
Execute with Docker

--

$ docker run -it -p 8080:8080 moznion/prom2jsond --path=/stats --port=8080 http://app.example.com/target/stats
$ curl localhost:8080/stats # => output

GitHub

https://github.com/moznion/prom2jsond

Tag summary

Content type

Image

Digest

Size

8.7 MB

Last updated

over 8 years ago

docker pull moznion/prom2jsond