patroni_exporter

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0

README

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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