Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.33 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.33 KB

CI Go Report Card License

Patroni Exporter for Prometheus

Simple server that scrapes Patroni stats and exports them via HTTP for Prometheus consumption.

Getting Started

To run it:

./patroni_exporter [flags]

Help on flags:

./patroni_exporter --help

For more information check the source code documentation.

Usage

--patroni.host="http://localhost" Specify Patroni API URL using the --patroni.host flag. Specify Patroni API port using the --patroni.port flag.

./patroni_exporter --patroni.host="http://localhost" --patroni.port=8008

Building

make build

Testing

make test

License

Apache License 2.0, see LICENSE.