Updated on 2025-08-07 GMT+08:00

Prometheus Instance APIs

√: supported; x: not supported

Table 1 Prometheus instance APIs

Permission

API

Action

IAM Project

Enterprise Project

Uninstalling a hosted Prometheus instance

DELETE /v1/{project_id}/aom/prometheus

aom:metric:delete

Querying a Prometheus instance

GET /v1/{project_id}/aom/prometheus

aom:metric:list

Adding a Prometheus instance

POST /v1/{project_id}/aom/prometheus

aom:metric:put

Creating a recording rule for a Prometheus instance

POST /v1/{project_id}/{prometheus_instance}/aom/api/v1/rules

aom:metric:put

Obtaining the credential for calling a Prometheus instance

GET /v1/{project_id}/access-code

aom:icmgr:get

Modifying a Prometheus instance

PUT /v1/{project_id}/aom/prometheus

aom:metric:set