此版本仍在开发中,尚未被视为稳定版本。对于最新的稳定版本,请使用 Spring Boot 3.4.0! |
执行器 REST API
网址
默认情况下,所有 Web 终端节点都位于路径下/actuator
其中 URL 为
表单/actuator/{id}
.这/actuator
Base Path 可以使用management.endpoints.web.base-path
属性,如以下示例所示:
management.endpoints.web.base-path=/manage
前面的application.properties
示例将端点 URL 的格式从/actuator/{id}
自/manage/{id}
.例如,URLinfo
endpoint 将变为/manage/info
.
时间 戳
终端节点使用的所有时间戳,无论是作为查询参数还是在 请求正文,必须格式化为 ISO 8601 中指定的偏移日期和时间。