Skip to content

gopaytech/patroni_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.