|
|
1
0
javamelody 主要是基于监控内存、cpu、http请求、sql请求和spring组件等。见 javamelody-spring-boot-starter 例如。 但据我所知,spring webflux并不使用servlet api。你想监视什么? 如果您只想在浏览器中显示图形,那么为javamelody报表启动一个http服务器,如 standalone .如果您还想监视sql请求和spring组件,那么在应用程序中添加 this example ,但MonitoringSessionListener和MonitoringFilter除外。 如果有意义的话,可以为webflux中的javamelody创建一个新的spring启动程序。 |