本文へスキップ
Kitbay
スキル公式

database-observability

Apache-2.02026年11月10日 更新307GitHubスター

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

スキルの内容

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.

できること

  • 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