跳转到主要内容
告警与响应相关接口/告警通道与集成

重试告警通知队列统计

获取重试队列统计列表待处理死信通知。

GET/api/v1/alerting/notification-retry

操作 ID

GetAlertNotificationRetryQueueStats

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

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

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

此接口无需请求参数。

响应状态

200 OK
200 OK

该 API 成功时返回以下响应结构。

  • pendingCount
    Integer

    待处理数量。

    示例: 5

  • deadCount
    Integer

    死信数量。

    示例: 2

  • items
    List

    条目列表。

    示例: (nested array)

    • notificationId
      String

      唯一标识符通知。

      示例: notif-001

    • alertId
      String

      告警ID。

      示例: alert-789xyz

    • channelType
      String

      渠道类型。

      示例: email

    • payload
      String

      序列化通知负载。

      示例: {...}

    • attemptCount
      Integer

      尝试数量。

      示例: 3

    • maxAttempts
      Integer

      最大数量重试尝试允许。

      示例: 5

    • nextRetryAt
      String

      下次重试时间。

      示例: 2026-01-15T08:00:00Z

    • lastError
      String

      错误消息最近一次失败尝试。

      示例: connection timeout

    • status
      String

      状态信息。

      示例: dead

    • createdAt
      String

      创建时间。

      示例: 2026-01-15T08:00:00Z