The Spotify PostgreSQL Metrics Tool is a command-line interface (CLI) utility designed to extract and report comprehensive metrics from your PostgreSQL database cluster. It enables continuous monitoring by periodically gathering and sending real-time statistics in a JSON format over a UDP socket, making it an essential resource for database performance optimization and troubleshooting.
Supports PostgreSQL versions 9.3 and later, with compatibility for various Debian-based distributions using systemd.
Provides both direct output and remote metric reporting capabilities via plain JSON over UDP sockets.
Includes a rich set of database and cluster-specific metrics, such as transaction rates, disk usage, lock statistics, and replication delays.
Offers a configurable setup with default and custom metrics, allowing users to tailor the monitoring experience to their specific needs.
Facilitates easy integration with existing PostgreSQL instances through a straightforward preparation and configuration process.