从测试到监控

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lineuman/article/details/80788218

测试是第一步,监控才是持久的。
测试是线下的,监控是线上的。
测试为了保证功能,监控为了保证高可用。

系统级别监控-主机监控
数据库监控
rest-Api监控

监控界的鼻祖-zabbix也可以做api监控

github上面的项目可以用来参考做api监控
https://github.com/sanathp/statusok

下面是针对statusok的学习使用

go 项目编译?
brew install go
1. 钉钉通知
2. http接口监控
3. influxDb数据存储
brew install influxdb

  1. 监控脚本编写
  2. 命令行监控$ ./statusok –config config.json

猜你喜欢

转载自blog.csdn.net/lineuman/article/details/80788218