Updated on 2026-02-26 GMT+08:00

Prometheus Monitoring APIs

√: supported; x: not supported

Table 1 Prometheus monitoring APIs

Permission

API

Action

IAM Project

Enterprise Project

Querying the expression calculation result in a specified period

GET /v1/{project_id}/aom/api/v1/query_range

aom:metric:list

Querying the expression calculation result in a specified period

POST /v1/{project_id}/aom/api/v1/query_range

aom:metric:list

Querying the expression calculation result at a specified time point

GET /v1/{project_id}/aom/api/v1/query

aom:metric:list

Querying the expression calculation result at a specified time point

POST /v1/{project_id}/aom/api/v1/query

aom:metric:list

Querying tag values

GET /v1/{project_id}/aom/api/v1/label/{label_name}/values

aom:metric:list

Obtaining the tag name list

GET /v1/{project_id}/aom/api/v1/labels

aom:metric:list

Obtaining the tag name list

POST /v1/{project_id}/aom/api/v1/labels

aom:metric:list

Querying metadata

GET /v1/{project_id}/aom/api/v1/metadata

aom:metric:list

Querying the resource list or querying resource details by ID

POST /v1/{project_id}/inv/resource

aom:inventory:list

Querying resource information

GET /v2/{project_id}/aom/migrate

aom:inventory:get

Updating resource information

PUT /rest/v1/{projectId}/inv/tag

aom:inventory:update

Querying the resources discovered based on an application discovery rule

GET /rest/v1/{project_id}/inv/servicediscoveryrules/detect

aom:queryDetectResult:list

Querying application discovery rules

GET /v2/{project_id}/aom/application-discovery-rules

aom:applicationDiscoveryRule:list

Updating application discovery rules

PUT /v2/{project_id}/aom/application-discovery-rules

aom:applicationDiscoveryRule:update

Deleting application discovery rules

DELETE /v2/{project_id}/aom/application-discovery-rules

aom:applicationDiscoveryRule:delete

Creating application discovery rules

POST /v2/{project_id}/aom/application-discovery-rules

aom:applicationDiscoveryRule:create

Querying subresources

GET /v2/{project_id}/aom/clusters

aom:resourceList:list

Querying subscription rules

GET /v2/{project_id}/subscribe-rules

aom:subscriberules:list

Updating subscription rules

PUT /v2/{project_id}/subscribe-rules

aom:subscriberules:update

Deleting subscription rules

DELETE /v2/{project_id}/subscribe-rules

aom:subscriberules:delete

Creating subscription rules

POST /v2/{project_id}/subscribe-rules

aom:subscriberules:create