跳转到主要内容
监控与采集相关接口/监控查询与概览

记录健康度事件

记录健康事件延迟测量错误平台。

POST/api/v1/monitoring/platform/{platformUuid}/health-events

操作 ID

RecordHealthEvent

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

调用该 API 时需要在请求头中携带以下认证信息。

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

application/json

路径参数

  • platformUuid
    String必填

    平台UUID。

请求体字段

  • eventType
    String必填

    事件类型。

    示例: error

  • latencyMs
    String必填

    时延,单位为毫秒。

    示例: 280

  • errorMessage
    String必填

    错误返回消息。

    示例: upstream timeout

响应状态

200 OK
200 OK

该 API 成功时返回一个空的 JSON 结构 {}。