摘要
企业对MySQL制定完善的监控方案对保障系统的稳定性至关重要。企业的运维希望能够实时监控MySQL主机的内存,CPU,磁盘I/O,以及MySQL Server的运行状态、健康状态。技术团队也希望基于监控方案能够预警即将到来的故障,提供报警,从而让业务避免故障。本文基于Prometheus从主机和MySQL Server自身两个维度来实现MySQL的监控方案。
It is very important for enterprises to develop a comprehensive monitoring plan for MySQL to ensure the stability of the system. Enterprise operation and maintenance want to be able to monitor the memory, CPU, and disk I/O of the MySQL host in real time, as well as the running status and health status of MySQL Server. Technical team also wants to be able to warn of upcoming failures and provide alarms based on the monitoring solution, so that the business can avoid failures. Based on Prometheus, we implement a MySQL monitoring solution from two dimensions of the host and MySQL Server itself.
作者
周浩
蔡永健
顾丹鹏
陈肖勇
Zhou Hao;Cai Yongjian;Gu Danpeng;Chen Xiaoyong(Powerchina Huadong Engineering Corporation Limited,Hangzhou,Zhejiang 311100,China;Zhejiang Huadong Engineering Digital Technology Co.Ltd)
出处
《计算机时代》
2023年第2期68-70,74,共4页
Computer Era