pg-locks-monitor - a simple gem to observe PostgreSQL database locks in Rails apps
https://github.com/pawurb/pg-locks-monitor
This gem allows to observe database locks generated by a Rails application. By default, locks data is not persisted anywhere in the PostgreSQL logs, so the only way to monitor it is via analyzing the transient state of the pg_locks metadata table. pg-locks-monitor is a simple tool that makes this process quick to implement and adjust to each app’s individual requirements.
Post a comment