
database-observability
Set up Grafana Cloud Database Observability for MySQL and PostgreSQL
by grafanaFree
Description
Database Observability is a Grafana agent skill for setting up Grafana Cloud Database Observability on MySQL and PostgreSQL. The feature gives query-level insight, including RED metrics, query samples and explain plans, without changes to application code, and the skill notes it has been generally available since April 2026. The agent walks through enabling pg_stat_statements on PostgreSQL (which needs a restart) or Performance Schema on MySQL, creating a least-privilege monitoring user with the pg_monitor role and connect rights, and connecting the database to Grafana Cloud. It links to Grafana's documentation for the feature. It suits teams already on Grafana Cloud who want visibility into slow or costly queries.…
Highlights
- MySQL and PostgreSQL support
- Enables pg_stat_statements or Performance Schema
- Creates a least-privilege monitoring user
- Query samples, RED metrics and explain plans
- No application code changes
Ratings & Reviews
No ratings yet
Be the first to rate database-observability.
People also visit

clickhouse-managed-postgres-rca
MUST USE when investigating performance issues on a ClickHouse-managed Postgres

database-optimizer
Optimizes database queries and improves performance across PostgreSQL
Collector
pganalyze statistics collector for gathering PostgreSQL metrics and log data
database-observability FAQ
Which databases are covered?
MySQL and PostgreSQL.
How do I install this skill?
Add it from the command line with `npx skills add https://github.com/grafana/skills --skill database-observability`, then ask your agent for the task it covers.
What does PostgreSQL setup involve?
Adding pg_stat_statements to shared_preload_libraries and restarting, then creating a monitoring user with the pg_monitor role and CONNECT on the database.
Do I need to change my application?
No. The insights come from the database itself without application code changes.
Has the skill been security audited?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best database-observability alternatives?
Popular alternatives to database-observability include clickhouse-managed-postgres-rca, postgres-pro and database-optimizer. See all database-observability alternatives






