- Documentation
- Learning Hub
- Section 2 of 3 Set up Database Observability
PostgreSQL with Database Observability
Slide 5 of 6
PostgreSQL with Database Observability
Database Observability gives you deep visibility into PostgreSQL query performance, whether your database is self-managed or running on a managed cloud service.
What you’ll get
- Queries Overview dashboard showing RED metrics for every query
- Explain plans with visual graphs showing scan types, join strategies, and cost distribution
- Wait events categorized by I/O, lock, and network waits from
pg_stat_activity - Query samples with individual execution timing and parameters
- Table schemas showing structures, indexes, and constraints
Before you start
A few things to keep in mind:
- PostgreSQL 14 or later is required.
- The
pg_stat_statementsextension must be installed, which requires a database restart the first time. - You’ll need a monitoring user with the
pg_monitorandpg_read_all_statsroles.
The learning path below walks you through each step.
Learning path
PostgreSQL Database Observability
Set up Grafana Cloud Database Observability for PostgreSQL to monitor query performance, explain plans, wait events, and query samples.
13 min
Intermediate
Docs & blog posts
Open in Grafana Cloud
Complete this learning path directly in your Grafana Cloud stack, or in the Grafana Play stack, with an interactive learning experience.