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