Install Grafana and Import Dashboards (mini)
Please Run sudo Installer => ( sudo ./install.sh )
bash <(curl -fsSL https://raw.githubusercontent.com/OuTiS92/grafana/main/install.sh)
1 .
Now to to Grafana and click on “Home → Administration → Data Source” Select “Prometheus” as data source and give IP of prometheus along with server
Scroll down and click on “Save & Test” button if you see successful message that means your data source added successfully
Now Click on “+” icon in right top corner
and select “Import Dashboard” option and Give “7362” number for MySQL dashboard if you want customize your dashboard you can or also find more dashboard on Dashboards | Grafana Labs and click on “Load”
Select Data source “Prometheus” as we configure and click on “Import”
Here you can see full metrics of your MySQL
2 .
Preview :
after install grafana . install influx in GUI grafana and edit username and password :
and import json file in directory grafana Dashboard :