摘要: SpringBoot actuator(自定义端点类) 1、编写自动端点类很简单,只需要在类前面使用@Endpoint注解 EndPoint中id 来表示url路径 2、使用@ReadOperation //显示监控指标 3、使用@WriteOperation //动态修改指标,以post方式修改 阅读全文
posted @ 2021-02-04 21:46 菜菜920 阅读(1142) 评论(2) 推荐(0) 编辑
摘要: SpringBoot actuator(监控) 1、Actuator 是什么?做什么用的? 是什么:它是SpringBoot 提供对,应用系统的监控和自查的集成功能 能做什么:查看应用配置信息、环境信息、对应用的控制和操作。 2、Actuator 监控分类 原生端点 应用配置 类 、度量指标类 、操 阅读全文
posted @ 2021-02-04 20:49 菜菜920 阅读(252) 评论(0) 推荐(0) 编辑