MySQL Integration for Grafana Cloud
MySQL is a managed, open source relational database that is widely used. The MySQL Integration enables the Grafana Agent to send metrics to Grafana Cloud. The integration also creates a useful default dashboard for visualization of MySQL metrics within Grafana Cloud.
By default, the agent configuration expects the
MYSQL_ALLOW_EMPTY_PASSWORD flag to be set to ‘yes’.
Use the walkthrough in Grafana Cloud to install the MySQL Integration.
Post-install configuration for the MySQL Integration
If you choose not to set the
MYSQL_ALLOW_EMPTY_PASSWORD flag you will need to update the agent configuration
integrations section with a password by adjusting the agent configuration file contents, like this.
mysqld_exporter: enabled: true data_source_name: "root:put-password-here@(localhost:3306)/"
Valid values for data_source_name are described in the MySQL section of the go-sql-driver README.
Related Grafana Cloud resources
How to set up and visualize synthetic monitoring at scale with Grafana Cloud
Learn how to use Kubernetes, Grafana Loki, and Grafana Cloud’s synthetic monitoring feature to set up your infrastructure's checks in this GrafanaCONline session.
Using Grafana Cloud to drive manufacturing plant efficiency
This GrafanaCONline session tells how Grafana helps a 75-year-old manufacturing company with product quality and equipment maintenance.