A simplistic tool to turn Prometheus metric records as persisted by Gitpod Dedicated into a readable form.
$ ./prometheus-decoder
Error: Input file is required
Usage of ./prometheus-decoder:
-human-time
Show human-readable timestamps in output
-input string
Input file containing PrometheusRecord entries (one per line)
-output string
Output file for JSON results (default: stdout)
-pretty
Enable pretty-printing of JSON output (default true)
-version
Show version information and exit
You can download the latest pre-built binary for your platform from the GitHub Releases page.
git clone https://github.com/gitpod-io/prometheus-decoder.git
cd prometheus-decoder
go build
This project uses GitHub Actions to automatically build and publish releases when a new tag is pushed to the repository.
- Update the version number in
main.go
- Commit your changes
- Tag the commit with a version number:
git tag v0.1.0 git push origin v0.1.0
- GitHub Actions will automatically build binaries for multiple platforms and create a new release
- Do we want to keep this at all? Or can we find a better way to share the way to access metric recordings?
- v0.1.0 - Initial release