Spring Boot 2 - Actuator Metrics Endpoint not working

前端 未结 12 1364
迷失自我
迷失自我 2020-12-08 00:35

In my Spring Boot App (2.0.0.M7) application.properties I set

management.endpoint.metrics.enabled=true

However, when i hit

         


        
12条回答
  •  眼角桃花
    2020-12-08 01:15

    "*" has a special meaning in YAML, so be sure to add quotes if you want to include (or exclude) all endpoints, as shown in the following example:

    management:
      endpoints:
        web:
          exposure:
            include: "*"
    

提交回复
热议问题