ObserveNow
...
Integrations
Infrastructure
MySQL
OpsVerse's Kubernetes agent can be used to collect metrics from MySQL DBs.
You can also install the RDS exporter on a single machine if you're running MySQL DB on RDS.
Add the following YAML snippet to the agent's values.yaml and run the agent based on these instructions.
Alternatively, you can install the Prometheus MySQL exporter on a single machine.
Prerequisite(s):
Run this command to install the MySQL exporter as a systemd unit:
- The agent will begin scraping the metrics automatically; the script will drop the scrape target into /etc/opsverse/targets/, so the agent will begin automatically scraping
- If you need to update MySQL connection info, after you install, you may edit /etc/opsverse/exporters/mysqld/.my.cnf and then restart the service: