Slide 4 of 11

MySQL integration

MySQL integration

The MySQL integration provides database performance monitoring for MySQL instances, whether standalone, replicated, or clustered.

What it’s forMonitoring query performance, connections, replication, and InnoDB health
Who uses itDBAs, backend developers, DevOps teams managing MySQL databases
Under the hoodUses the mysqld exporter to read server status and InnoDB metrics

Metrics collected

The integration collects the metric groups that matter most for MySQL:

  • Queries: QPS, slow queries, query types
  • Connections: Active, max, threads
  • InnoDB: Buffer pool, I/O, row operations
  • Replication: Lag, status, errors

What to know

  • Prebuilt dashboards: overview, replication, InnoDB
  • Prebuilt alerts: connections, replication lag
  • Query performance and slow query visibility
  • InnoDB buffer pool and I/O metrics

Set it up

Open this learning path in your Grafana Cloud stack for a fully interactive experience, or read through it to understand the process first.

Learning path

Monitor MySQL with Grafana Alloy

Welcome to the Grafana learning path that shows you how to monitor MySQL databases with Grafana Alloy and use pre-built dashboards and alerts in Grafana Cloud.

17 min
Beginner
Docs & blog posts

Open in Grafana Cloud

Complete this learning path directly in your Grafana Cloud stack with an interactive learning experience.

Script

MySQL is everywhere, and this integration keeps it healthy. Query metrics show queries per second, slow queries, and a breakdown by type, so you can see what the database is doing.

Connection metrics track active connections against your maximum, since running out is a classic MySQL failure. InnoDB metrics are where performance analysis lives, especially the buffer pool hit ratio: a low ratio means your working set doesn’t fit in memory. For replicated setups, you also get replication lag and status.