@magnet.me/postgresql-replication-lag-influx

1.0.1 • Public • Published

Magnet.me Logo

GitHub release Docker pulls Docker build Code Climate Github stars

postgresql-replication-lag-influx

We use the following simple script/Docker container at Magnet.me monitor the lag or our postgresql slaves continuously.

You can use the container like this:

docker run \
    -e INFLUX_URL=http://root:root@localhost:8096/infra \
    -e RATE=250 \
    -e PGUSER=replication \ 
    -e PGPASSWORD=yoursecret \ 
    -e SERVERS=localhost:5433,localhost:5434 \
    magnetme/postgresql-replication-lag-influx

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1

Package Sidebar

Install

npm i @magnet.me/postgresql-replication-lag-influx

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators