Zum Inhalt springen
Kitbay

database-observability

Apache-2.0Aktualisiert am 10. Nov. 2026307GitHub-Sterne

A Grafana Labs skill for setting up Database Observability in Grafana Cloud for MySQL and PostgreSQL.

Was der Skill vermittelt

A Grafana Labs skill for setting up Database Observability in Grafana Cloud for MySQL and PostgreSQL. The agent turns on the database's own statistics (pg_stat_statements or the Performance Schema), creates a monitoring user with limited rights, and configures the matching Grafana Alloy component to send query samples, explain plans, metrics and schema details to Grafana Cloud. It lists the supported managed and self-hosted databases, such as RDS, Aurora, Cloud SQL and Azure Database, and shows how to link slow queries to application traces through OpenTelemetry database attributes. References hold Alloy configuration, queries and alerts.

Funktionen

  • Enable query statistics in MySQL or PostgreSQL
  • Create a least-privilege monitoring user
  • Configure Alloy to send query samples and explain plans
  • Correlate slow queries with application traces