This post will walk you through each step of creating interactive, real-time & dynamic dashboard to monitor your MySQL instances using Telegraf, InfluxDB & Grafana.
Start by enabling the MySQL input plugin in /etc/telegraf/telegraf.conf :
Once Telegraf is up and running itβll start collecting data and writing them to the InfluxDB database:
Finally, point your browser to your Grafana URL, then login as the admin user. Choose βData Sourcesβ from the menu. Then, click βAdd newβ in the top bar.
Fill in the configuration details for the InfluxDB data source:
You can now import the dashboard.json file by opening the dashboard dropdown menu and click βImportβ :
Note: Check my Github for more interactive & beautiful Grafana dashboards.