re-prometheus

command module
v0.0.0-...-7c6e122 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

README

re-prometheus

Reverse engineering of Prometheus text metrics

From metrics from prometheus endpoint to generate markdown about metrics: name, type and labels.

Run

$ go build
$ UNFIXED_LABELS=sandbox_id,device,interface,disk ./re-prometheus http://localhost:8090/metrics

This will write metrics yaml and markdown file under tmp/.

UNFIXED_LABELS means this label is not a fixed cardinality label, need not print label's values.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL