A CLI tool that extracts PostgreSQL database and cluster metrics, outputting them as JSON or sending them via UDP.
Spotify PostgreSQL Metrics is a command-line tool that extracts detailed statistics and performance metrics from PostgreSQL databases. It operates as a one-time command or a long-running daemon to gather data on disk usage, transaction rates, index hit rates, replication delays, and more, helping monitor database health and performance. The tool outputs metrics in a Metrics 2.0 compatible JSON format or sends them via UDP to endpoints like FFWD for further processing.
Database administrators and DevOps engineers responsible for monitoring and maintaining PostgreSQL database clusters, particularly those needing actionable, cluster-wide and per-database metrics for proactive maintenance and performance tuning.
Developers choose this tool for its comprehensive, standardized metrics extraction specifically tailored for PostgreSQL, including unique features like table bloat analysis and WAL file monitoring. It integrates easily with existing monitoring stacks via JSON output or UDP, and its extensible design allows adding custom metrics through Python modules.
Tool that extracts and provides metrics on your PostgreSQL database
Covers unique PostgreSQL-specific metrics like table bloat analysis and WAL file monitoring, providing deep insights into database health and performance, as detailed in the metrics explanation section.
Allows users to add custom metrics by modifying Python modules, as explained in the 'How to Add More Metrics' section, making it adaptable to specific monitoring needs.
Outputs metrics in Metrics 2.0 compatible JSON, facilitating easy integration with existing monitoring stacks, mentioned in the default metrics format description.
Provides both per-database and global metrics, such as replication delays and lock statistics, aiding in proactive maintenance and tuning, aligned with the project's philosophy.
The table bloat metric is admitted to be 'rather heavy' and may need disabling to avoid performance issues, as noted in the README, limiting its use in sensitive environments.
Requires building Debian packages, editing multiple configuration files, preparing the database with admin access, and modifying pg_hba.conf, making deployment cumbersome and error-prone.
Primarily supports Debian-based distributions with systemd, as stated in prerequisites, limiting usability in other environments like RHEL or containerized setups without additional work.
Blazing fast, instant realtime GraphQL APIs on all your data with fine grained access control, also trigger webhooks on database events.
REST API for any Postgres database
Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.