wb.ouyang

毕竟几人真得鹿,不知终日梦为鱼

导航

2020年11月18日 #

SpringBoot服务监控Actuator

摘要: 在生产环境中,需要实时或定期监控服务的可用性,springboot的actuator功能提供了很多监控所需的接口。actuator是springboot提供的对应用系统的自省和监控的集成功能,可以对应用系统进行配置查看、健康检查、相关功能统计等。 依赖 <dependency> <groupId>o 阅读全文

posted @ 2020-11-18 00:31 wenbin_ouyang 阅读(172) 评论(0) 推荐(0)

SpringBoot的web部署, SpringBoot开发非Web程序

摘要: 目录: 1、SpringBoot的web项目部署为war2、SpringBoot的web项目部署为jar3、SpringBoot开发非Web程序 3.1、方式一:利用 main()方法 3.2、方式二:通过springboot启动加载类 CommandLineRunner#run() 1、Sprin 阅读全文

posted @ 2020-11-18 00:29 wenbin_ouyang 阅读(920) 评论(0) 推荐(0)