Updated on 2024-05-14 GMT+08:00

Monitoring APIs

√: supported; x: not supported

Table 1 Monitoring APIs

Permission

API

Action

IAM Project

Enterprise Project

Querying time series objects

POST /v2/{project_id}/series

aom:metric:list

×

Querying time series data

POST /v2/{project_id}/samples

aom:metric:list

×

Querying metrics

POST /v1/{project_id}/ams/metrics

aom:metric:get

×

Querying monitoring data

POST /v1/{project_id}/ams/metricdata

aom:metric:get

×

Adding or modifying a service discovery rule

PUT /v1/{project_id}/inv/servicediscoveryrules

aom:discoveryRule:set

×

Deleting a service discovery rule

DELETE /v1/{project_id}/inv/servicediscoveryrules

aom:discoveryRule:delete

×

Querying existing service discovery rules

GET /v1/{project_id}/inv/servicediscoveryrules

aom:discoveryRule:list

×

Adding a threshold rule

POST /v2/{project_id}/alarm-rules

aom:alarmRule:create

×

Querying the threshold rule list

GET /v2/{project_id}/alarm-rules

aom:alarmRule:get

×

Modifying a threshold rule

PUT /v2/{project_id}/alarm-rules

aom:alarmRule:set

×

Deleting a threshold rule

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

aom:alarmRule:delete

×

Querying a threshold rule

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

aom:alarmRule:get

×

Deleting threshold rules in batches

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

aom:alarmRule:delete

×