Springboot 2执行器如何排除tomcat指标

Springboot 2 actuator how to exclude the tomcat metrics

如标题,如何通过属性从执行器端点中排除 tomcat 指标?

有很多management.metrics.binders,但没有一个用于禁用tomcat。

如果您还在寻找答案。您可以使用 属性 management.metrics.enable.tomcat=假

有关详细信息,请参阅 spring 文档

https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#_per_meter_properties

谢谢