一款方便的mysql的监控大屏,使用开源项目实现MySQL的监控,对于想要进行mysql的时候情况监控来说比较重要,并且这款工具是不需要与代码进行结合的,直接运行打开就行了。
具体方式如下:
https://github.com/prometheus/prometheus/releases/download/v2.39.1/prometheus-2.39.1.windows-amd64.zip
https://github.com/prometheus/mysqld_exporter/releases/download/v0.14.0/mysqld_exporter-0.14.0.darwin-amd64.tar.gz
windows granfana: https://dl.grafana.com/enterprise/release/grafana-enterprise-9.2.1.windows-amd64.msiexporter配置
【client】
user=root
password=root
host=110.40.139.123
port=3306
访问端口
http://localhost:9104
http://localhost:9090
http://localhost:3000普罗米修斯配置任务
- job_name: "mysql"
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: 【"localhost:9104"】
MySQL仪表盘: https://grafana.com/grafana/dashboards/7362-mysql-overview/
明天会再更新一板使用的情况
下载链接: