我从1.5.10迁移到了Spring Boot 2.0.0 RC1,但在最新版本中的执行器(actuator)上遇到了困难。如何启用公开和启用所有执行器端点? 唯一公开的端点是:{ "_links": { "self": { "href": "http://127.0...
在Spring Boot 2.2.0中,“httptrace”执行器端点不再存在。 我该如何恢复此功能?
在我的Spring Boot App(2.0.0.M7)的application.properties文件中,我设置了management.endpoint.metrics.enabled=true 然而,当我击打时localhost:8080/actuator/metrics 我收到了40...
我能够访问像 http://localhost:8081/health, /status, /env, /metrics, /shutdown 这样的端点,但不能访问 /actuator 或 /loginfo 端点。出现以下异常。{"timestamp":1455929182552,"stat...
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId>...
我开始使用Spring Boot 2(RC1)进行我的第一个项目。由于已经有很好的文档,所以从Spring Boot 1.x过来并不难。 然而,现在我想要集成度量指标时遇到了困难。据我所知,目前仅有默认度量指标的文档。但是我也想测量服务级别执行时间以及在dynamodb中使用的时间。 编辑...
我正在使用Spring Boot 2.4.0,并添加了以下依赖项以启用Prometheus指标:<dependency> <groupId>org.springframework.boot</groupId> <arti...
我正在尝试在Spring Boot中配置一个应用程序,使用两个不同的端口,但我还没有成功。 我的第一次尝试是使用两个控制器,并在两个控制器中定义了一个@Bean,其中包含container.setPort(8080); 我的第二次尝试是添加了actuator依赖,并更改了管理端口,但我的应用程...
我们的Spring Boot应用程序中,使用 spring-security-ldap 进行用户身份验证,以便访问我们的应用程序。 身份验证在功能上没有任何问题,但是当我们访问 /authenticator/health URL 时,我们会得到有关ldap的以下状态: "ldap": { ...
我已经将一个Spring Boot应用程序从1.4.x更新到1.5.1,现在Spring Actuator端点返回不同的MIME类型: 例如,/health 现在是 application/vnd.spring-boot.actuator.v1+json 而不是简单的 application...