-
3 votesanswersviews
Spring Boot 2自定义 Actuator endpoints
Spring 天Noob:好的 . 我从STS Spring Starter Project / Maven / Java 8 / Spring Boot 2.0开始,选择Web和Actuator依赖项 . 它构建并运行良好,并响应http://localhost:8080/actuator/health . 我将"Endpoint"添加到主应用程序类中,以便它看起来像这样 ....