Would you like to learn how to perform a Prometheus monitoring MySQL configuration on Ubuntu Linux? In this tutorial, we are going to show you how to install Prometheus on Ubuntu Linux, how to configure Prometheus to monitor a MySQL server using the mysqld_exporter application and how to access your Prometheus web administration interface.
• Ubuntu version: 18.04
• Prometheus version: 2.8.0
• Prometheus mysqld_exporter version: 0.11.0
In our example, the MySQL server uses the IP address 18.104.22.168.
In our example, the Prometheus server uses the IP address 22.214.171.124.
Keep in mind that you need to change the commands and configuration files to reflect your environment.