问题描述
我有一个Spring Boot应用程序,它公开了执行器/普罗米修斯端点进行监视,
我想关闭spring集成组件的指标,仅保留http请求。
我尝试按照以下方式在documentation 的配置中禁用它:
management:
metrics:
enable:
spring:
integration: false
那对我不起作用。
你能帮我吗?
解决方法
让我们再次看看documentation!
除了
Sub ChangeControlSoft(ByRef oShp As Shape) If oShp.Line.Parent.Rotation < 35 Then oShp.Line.Parent.Rotation = 35 ElseIf oShp.Line.Parent.Rotation = 35 Then oShp.Line.Parent.Rotation = 0 End If End Sub
豆之外,还可以使用属性在每米的基础上应用一组有限的自定义设置。每表定制适用于以给定名称开头的所有所有表ID。例如,以下操作将禁用ID以MeterFilter
开头的所有仪表:
example.remote
但是您的YAML配置在management.metrics.enable.example.remote=false
模式匹配方面略有不同。我认为它必须是这样的:
spring.integration