Actuator REST API

此 API 文档描述了 Spring Boot Actuator 的 Web 端点。

在继续之前,您应该阅读以下主题

为了获得下面文档中正确的 JSON 响应,Jackson 必须可用。

URLs

默认情况下,所有 Web 端点都可在路径 /actuator 下找到,URL 形式为 /actuator/{id}/actuator 基本路径可以使用 management.endpoints.web.base-path 属性进行配置,示例如下

management.endpoints.web.base-path=/manage

上面的 application.properties 示例将端点 URL 的形式从 /actuator/{id} 更改为 /manage/{id}。例如,info 端点的 URL 将变为 /manage/info

Timestamps

所有由端点消耗的时间戳,无论是作为查询参数还是在请求体中,都必须按照 ISO 8601 中指定的偏移日期和时间格式进行格式化。

© . This site is unofficial and not affiliated with VMware.