Section 2 · Choose and set up an integration

Monitoring MySQL databases

Estimated time: 2 min

MySQL integration

The MySQL integration provides database performance monitoring for MySQL instances, whether standalone, replicated, or clustered. Running out of connections is a classic MySQL failure, and the InnoDB buffer pool hit ratio reveals whether your working set still fits in memory.

What it’s forMonitoring query performance, connections, replication, and InnoDB health
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

This integration offers:

  • Prebuilt dashboards: MySQL, MySQL logs
  • Prebuilt alerts: replication lag, slow queries, instance down
  • Query performance and slow query visibility
  • InnoDB buffer pool and I/O metrics

Set it up

Open this 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.

Path completed