Spring Boot 2 - Actuator Metrics Endpoint not working

前端 未结 12 1385
迷失自我
迷失自我 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 01:16

    Add the following line to your application.properties file:

    management.endpoints.web.exposure.include=metrics

    That's all.

提交回复
热议问题