Updated on 2023-06-28 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