本页面介绍了 /api-docs/services/management/monitoring/threshold 路径下的 API,用于监控和管理系统阈值。

功能概述

  • 获取阈值配置信息
  • 设置阈值
  • 获取阈值报警历史

路径

GET /api-docs/services/management/monitoring/threshold

请求参数

参数名 类型 描述 必选
threshold_id String 阈值ID
service_id String 服务ID

响应示例

{
  "status": "success",
  "data": {
    "threshold_id": "12345",
    "service_id": "67890",
    "name": "CPU 使用率",
    "value": 80,
    "alarm_type": "email",
    "created_at": "2021-01-01T00:00:00Z",
    "updated_at": "2021-01-02T00:00:00Z"
  }
}

更多信息

请参考API 文档获取更多关于本站 API 的信息。