【发布时间】:2019-12-15 19:30:26
【问题描述】:
我正在开发带有嵌入式 Jetty 服务器的简单 Spring Boot Web 应用程序。
我想要一些关于连接池使用情况的统计信息(即线程数、平均请求时间、平均队列等待时间、队列大小等)
我意识到 Spring Boot 使用 QueuedThreadPool 配置 Jetty,它几乎没有基本指标。是否有更复杂的 bean 或模块指定用于 Spring Boot 中的统计数据收集?如何开启?
【问题讨论】:
标签: java spring-boot jetty connection-pooling embedded-jetty