Spring boot 访问localhost:8080/执行器端点(带弹簧引导执行器)

Spring boot 访问localhost:8080/执行器端点(带弹簧引导执行器),spring-boot,endpoint,spring-boot-actuator,Spring Boot,Endpoint,Spring Boot Actuator,在spring中,我读到了由actuator dependency提供的名为“actuator”的端点,但我还没有在本地测试应用程序上访问它。 问题:有人知道如何访问该端点吗?如果可能的话,则为粗:) 子问题1:如果该端点存在,那么为什么隐藏该端点? 子问题2:如果该端点不存在,我们如何通知spring.io更正文档页面(打开某种票据) 详细信息: 我想准确地访问“actuator”端点,而不是spring boot actuator提供的其他端点(localhost:8080/actuato

在spring中,我读到了由actuator dependency提供的名为“actuator”的端点,但我还没有在本地测试应用程序上访问它。

问题:有人知道如何访问该端点吗?如果可能的话,则为粗:)
子问题1:如果该端点存在,那么为什么隐藏该端点?
子问题2:如果该端点不存在,我们如何通知spring.io更正文档页面(打开某种票据)

详细信息:

  • 我想准确地访问“actuator”端点,而不是spring boot actuator提供的其他端点(localhost:8080/actuator)
  • 是的,我已尝试在属性文件中手动启用该端点(endpoints.enabled=true或endpoints.exactor.enabled=true)
  • 是,我已尝试启用/禁用endpoints.sencitive属性
  • 是的,执行器的其他端点工作正常
  • 没有特别的理由我需要它,只是想尝试一下(只是学习新东西:)
  • 请不要只是回答“没有这样的端点,伙计!”,应该有某种原因为什么它写在
  • 请使用我现在使用的spring引导版本,然后再回答“这些配置对我有用”(spring引导版本:1.5.4.发行版
  • 提前感谢:)

您必须包含依赖项,才能使用
/exactor
端点:

<dependency>
    <groupId>org.springframework.hateoas</groupId>
    <artifactId>spring-hateoas</artifactId>
</dependency>

org.springframework.hateoas
:

为其他端点提供基于超媒体的“发现页”。 要求Spring HATEOAS位于类路径上


必须包含依赖项,才能使
/exactor
端点可用:

<dependency>
    <groupId>org.springframework.hateoas</groupId>
    <artifactId>spring-hateoas</artifactId>
</dependency>

org.springframework.hateoas
:

为其他端点提供基于超媒体的“发现页”。 要求Spring HATEOAS位于类路径上


您是否尝试访问管理端点?management.server.port=8081请参阅:是否尝试访问管理端点?management.server.port=8081请参阅: