API Overview
AOM provides common monitoring, Prometheus monitoring, alarm, and log APIs, helping you quickly and cost-effectively implement application O&M.
| Type | Description |
|---|---|
| Common monitoring APIs, including the APIs for querying metrics; querying and adding monitoring data; adding, modifying, querying, and deleting threshold rules; adding, modifying, querying, and deleting application discovery rules. | |
| Prometheus monitoring APIs, including the APIs for querying data in a specified period, data at a specified time point, tag values, tag names, and metadata. | |
| Log APIs, including the API for querying logs. | |
| Event and alarm APIs, including the APIs for querying, counting, and reporting events and alarms. |
Common Monitoring APIs
| API | Description |
|---|---|
| Query the metrics that can be monitored in the system. You can specify the namespace, metric name, dimension, resource ID (format: resType_resId), start position, and maximum number of returned records in pagination queries. | |
| Query monitoring data in a specified period. You can specify a dimension or period to query. | |
| Query the metrics that can be monitored in the system. You can specify the namespace, metric name, dimension, resource ID (format: resType_resId), start position, and maximum number of returned records in pagination queries. | |
| Query monitoring data in a specified period. You can specify a dimension or period to query. | |
| Add one or more monitoring data records. | |
| Add or modify one or more service discovery rules. | |
| Delete one or more service discovery rules. | |
| Query an existing service discovery rule in the system. | |
| Add a threshold rule. | |
| Query all threshold rules. | |
| Modify a threshold rule. | |
| Delete a threshold rule. | |
| Query a threshold rule. | |
| Delete threshold rules in batches. |
Prometheus Monitoring APIs
| API | Description |
|---|---|
| Querying Expression Calculation Results in a Specified Period | Query the calculation results of a PromQL expression in a specified period. |
| Querying Expression Calculation Results in a Specified Period | Query the calculation results of a PromQL expression in a specified period. |
| Querying the Expression Calculation Result at a Specified Time Point | Query the calculation results of a PromQL expression at a specified time point. |
| Querying the Expression Calculation Result at a Specified Time Point | Query the calculation results of a PromQL expression at a specified time point. |
| Query the values of a specified tag. | |
| Obtain the tag name list. | |
| Obtain the tag name list. | |
| Query the metadata of time series and corresponding tags. |
Log APIs
| API | Description |
|---|---|
| Query logs by different dimensions, such as by cluster, IP address, or application. |
Alarm APIs
| API | Description |
|---|---|
| Query events and alarms of a user. | |
| Count events and alarms that meet specified conditions. | |
| Report events and alarms of a user. |
Last Article: Concepts
Next Article: Calling APIs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.