Grafana Cloud Database Observability now includes a generally available AI Assistant integration that helps developers diagnose and fix slow SQL queries. Rather than requiring users to manually assemble context, the assistant queries live Prometheus and Loki data sources within the selected time window, using actual table schemas, indexes, and execution plans. It provides purpose-built analysis actions such as explaining why a query is slow (e.g., missing indexes, sequential scans), generating dialect-specific SQL fixes like CREATE INDEX statements with column ordering rationale, and detecting gradual performance degradation by comparing fast vs. slow execution samples. Conversations can be shared with teammates or attached to incident tickets, and the assistant is accessible directly from query detail tabs in the Grafana Cloud UI.

7m read timeFrom grafana.com
Post cover image
Table of contents
Why is this query slow?

Sort: