1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2026-10-23 12:08:57 +03:00
Files
Cristian Greco 3c0720a1bc feat: reorganize code to remove the main package (#1238)
* feat: reorganize code to remove the main package

Move all `main` code to `exporter`, for easier code embedding.

Signed-off-by: Cristian Greco <cristian@regolo.cc>

* move logger args to NewExporter signature

Signed-off-by: Cristian Greco <cristian@regolo.cc>

---------

Signed-off-by: Cristian Greco <cristian@regolo.cc>
2026-01-28 15:42:24 -05:00

395 B

Replicated postgres cluster in docker.

Upstream is forked from https://github.com/DanielDent/docker-postgres-replication

My version lives at https://github.com/wrouesnel/docker-postgres-replication

This very simple docker-compose file lets us stand up a replicated postgres cluster so we can test streaming.

TODO:

Pull in p2 and template the Dockerfile so we can test multiple versions.