更新时间:2024-05-14 GMT+08:00

监控

“√”表示支持,“x”表示暂不支持。

表1 监控

权限

对应API接口

授权项

IAM项目(Project)

企业项目(Enterprise Project)

查询时间序列

POST /v2/{project_id}/series

aom:metric:list

×

查询时序数据

POST /v2/{project_id}/samples

aom:metric:list

×

查询指标

POST /v1/{project_id}/ams/metrics

aom:metric:get

×

查询监控数据

POST /v1/{project_id}/ams/metricdata

aom:metric:get

×

添加或修改服务发现规则

PUT /v1/{project_id}/inv/servicediscoveryrules

aom:discoveryRule:set

×

删除服务发现规则

DELETE /v1/{project_id}/inv/servicediscoveryrules

aom:discoveryRule:delete

×

查询系统中已有服务发现规则

GET /v1/{project_id}/inv/servicediscoveryrules

aom:discoveryRule:list

×

添加阈值规则

POST /v2/{project_id}/alarm-rules

aom:alarmRule:create

×

查询阈值规则列表

GET /v2/{project_id}/alarm-rules

aom:alarmRule:get

×

修改阈值规则

PUT /v2/{project_id}/alarm-rules

aom:alarmRule:set

×

删除阈值规则

DELETE /v2/{project_id}/alarm-rules/{alarm_rule_id}

aom:alarmRule:delete

×

查询单条阈值规则

GET /v2/{project_id}/alarm-rules/{alarm_rule_id}

aom:alarmRule:get

×

批量删除阈值规则

POST /v2/{project_id}/alarm-rules/delete

aom:alarmRule:delete

×