可视化和监控解决方案
可视化和监控解决方案  /  监控 PostgreSQL
PostgreSQL logo

使用 Grafana 轻松监控 PostgreSQL

使用 Grafana Cloud 的开箱即用监控解决方案,轻松监控您的 PostgreSQL(开源关系型数据库)部署。Grafana Cloud 的永久免费层包含 3 个用户和最多 10,000 个指标序列,以支持您的监控需求。

Monitor PostgreSQL dashboard example

包含的关键指标

pg_stat_bgwriter_buffers_alloc
pg_stat_bgwriter_buffers_backend
pg_stat_bgwriter_buffers_backend_fsync
pg_stat_bgwriter_buffers_checkpoint
pg_stat_bgwriter_buffers_clean
pg_stat_database_blks_hit
pg_stat_database_blks_read
pg_stat_database_conflicts
pg_stat_database_deadlocks
pg_stat_database_numbackends
pg_stat_database_tup_deleted
pg_stat_database_tup_fetched
pg_stat_database_tup_inserted
pg_stat_database_tup_returned
pg_stat_database_tup_updated
pg_stat_database_xact_commit
pg_stat_database_xact_rollback
pg_up

包含的关键警报规则

PostgreSQLMaxConnectionsReached
PostgreSQLHighConnections
PostgreSQLDown
PostgreSQLSlowQueries
PostgreSQLQPS
PostgreSQLCacheHitRatio