MySQL Slow queries
Interactive Grafana dashboard for analyzing MySQL slow query logs. Identify recent, frequent, slow, and high-impact queries, explore query activity over time, and quickly isolate problematic time intervals.
Requirements
- MySQL 8.0+
- Slow query logging enabled
- log_output includes TABLE
- mysql.slow_log readable by the Grafana datasource user
- Grafana MySQL datasource configured
MySQL permissions and variables:
GRANT SELECT ON mysql.slow_log TO 'grafanads'@'%';
SET GLOBAL log_output = 'FILE,TABLE';
Data source config
Collector type:
Collector plugins:
Collector config:
Revisions
Upload an updated version of an exported dashboard.json file from Grafana
| Revision | Description | Created | |
|---|---|---|---|
| Download |
MySQL
Monitor MySQL with Grafana. Easily monitor your MySQL deployment with Grafana Cloud's out-of-the-box monitoring solution.
Learn more