All Products
Search
Document Center

Cloud Monitor:Cloud Monitor API overview

Last Updated:Feb 28, 2026

API standard and pre-built SDKs in multi-language

The OpenAPI specification of this product (Cms/2019-01-01) follows the RPC standard. Alibaba Cloud provides pre-built SDKs for popular programming languages to abstract low-level complexities such as request signing. This enables developers to call APIs using language-specific syntax without dealing with HTTP details directly.

Custom signature

If your specific needs, such as a customized signature, are not supported by the SDK, manually sign requests using the signature mechanism. Note that manual signing requires significant effort (usually about 5 business days). For support, join our DingTalk group (ID: 147535001692).

Before you begin

An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk. To call APIs securely, create a Resource Access Management (RAM) user with API access only, configure its AccessKey pairs, and implement the principle of least privilege (PoLP) through RAM policies. Use the Alibaba Cloud account only when its permissions are explicitly required for specific scenarios.

API standard and SDKs

The OpenAPI specification for Cloud Monitor (Cms/2019-01-01) follows the RPC standard. Alibaba Cloud provides pre-built SDKs for popular programming languages that handle low-level tasks such as request signing. These SDKs let you call APIs using language-specific syntax without dealing with HTTP details directly.

Custom signature

If the SDK does not support your specific needs, such as a customized signature, you can manually sign requests using the signature mechanism. Manual signing typically requires about 5 business days of development effort. For support, join the DingTalk group (ID: 147535001692).

Before you begin

An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk.

To call APIs securely:

  1. Create a RAM user with API access only.

  2. Configure AccessKey pairs for the RAM user.

  3. Implement the principle of least privilege (PoLP) through RAM policies.

Use the Alibaba Cloud account only when its permissions are explicitly required for specific scenarios.

Cloud service metrics

APIDescription
DescribeProjectMetaQueries the information about monitored services in CloudMonitor.
DescribeMetricMetaListQueries the details of metrics supported in CloudMonitor.
DescribeMetricListQueries monitoring data for a specific metric of a cloud service.
DescribeMetricDataQueries the monitoring data of a metric for a cloud service.
DescribeMetricLastQueries the latest monitoring data of a metric.
DescribeMetricTopQueries the latest monitoring data of a metric for a cloud service, sorted by a specified order.

Custom metrics

APIDescription
PutCustomMetricReports monitoring data.
DeleteCustomMetricDeletes the reported monitoring data of a metric.
DescribeCustomMetricListQueries the reported monitoring data.

Data export

APIDescription
CursorDefines the range of monitoring data to export. Returns the Cursor information required by the BatchExport operation.
BatchExportExports the monitoring data defined in the Cursor operation.
PutExporterRuleCreates or modifies a data export rule.
DeleteExporterRuleDeletes a data export rule.
DescribeExporterRuleListQueries a list of data export rules.
PutExporterOutputCreates or modifies a configuration set for exporting monitoring data.
DeleteExporterOutputDeletes a configuration set that is used to export monitoring data.
DescribeExporterOutputListQueries configuration sets that are used to export monitoring data.

Alert service

Alert contacts and contact groups

APIDescription
PutContactCreates or modifies an alert contact.
DeleteContactDeletes an alert contact.
DescribeContactListQueries alert contacts.
DescribeContactListByContactGroupQueries the alert contacts in an alert contact group.
PutContactGroupCreates or modifies an alert contact group.
DeleteContactGroupDeletes an alert contact group.
DescribeContactGroupListQueries a list of alarm contact groups.

Alert templates

APIDescription
CreateMetricRuleTemplateCreates an alert template.
ModifyMetricRuleTemplateModifies an alert template.
DeleteMetricRuleTemplateDeletes an alert template.
DescribeMetricRuleTemplateAttributeQueries the details of an alert template.
DescribeMetricRuleTemplateListQueries alert templates.
ApplyMetricRuleTemplateApplies an alert template to an application group to generate alert rules.

Threshold-triggered alert rules

APIDescription
PutResourceMetricRuleConfigures an alert rule.
PutResourceMetricRulesCreates multiple alert rules for the specified metric of a resource.
PutGroupMetricRuleCreates or modifies an alert rule in a specified application group.
CreateGroupMetricRulesCreates multiple alert rules for an application group.
PutCustomMetricRuleCreates a custom alert rule.
DeleteMetricRulesDeletes one or more alert rules.
EnableMetricRulesEnables alert rules.
DisableMetricRulesDisables alert rules.
DescribeMetricRuleListQueries a list of alert rules.
DescribeMetricRuleCountQueries the number of alert rules in each state.
DescribeActiveMetricRuleListQueries the details of initiative alert rules.
DescribeProductsOfActiveMetricRuleQueries the cloud services for which the initiative alert feature is enabled.
EnableActiveMetricRuleEnables the initiative alert feature for a cloud service.
DisableActiveMetricRuleDisables the initiative alert feature for a cloud service.
DescribeAlertingMetricRuleResourcesQueries the resources for which active alerts are triggered based on an alert rule.

Alert rule resources and targets

APIDescription
CreateMetricRuleResourcesAssociates resources with an alert rule.
DeleteMetricRuleResourcesDisassociates resources from an alert rule.
PutMetricRuleTargetsAdds or modifies the push channels of an alert rule.
DeleteMetricRuleTargetsDeletes the push channels of an alert rule.
DescribeMetricRuleTargetsQueries the resources associated with a specified alert rule.

Event-triggered alert rules

APIDescription
PutEventRuleCreates or modifies an event-triggered alert rule.
PutCustomEventRuleCreates a custom event-triggered alert rule.
DeleteEventRulesDeletes one or more event-triggered alert rules.
EnableEventRulesEnables one or more event rules.
DisableEventRulesDisables one or more event-triggered alert rules.
DescribeEventRuleAttributeQueries the details of a specified event-triggered alert rule.
DescribeEventRuleListQueries event-triggered alert rules.
PutEventRuleTargetsAdds or modifies the push channels of an event-triggered alert rule.
DeleteEventRuleTargetsDeletes the push channels of an event-triggered alert rule.
DescribeEventRuleTargetListQueries event-triggered alert rules.

Alert blacklists

APIDescription
CreateMetricRuleBlackListCreates a blacklist policy.
ModifyMetricRuleBlackListModifies a blacklist policy.
DeleteMetricRuleBlackListDeletes multiple blacklist policies at a time.
EnableMetricRuleBlackListEnables or disables multiple blacklist policies at a time.
DescribeMetricRuleBlackListQueries blacklist policies.

Alert history

APIDescription
DescribeAlertLogListQueries the alert history.
DescribeAlertLogCountQueries the statistics of alert logs.
DescribeAlertLogHistogramQueries the number of alert logs generated during each interval within a time period.
DescribeAlertHistoryListQueries historical alerts.

Event monitoring

System events

APIDescription
DescribeSystemEventAttributeQueries the details of a system event.
DescribeSystemEventCountQueries the number of times a system event of a cloud service has occurred.
DescribeSystemEventHistogramQueries the number of times a system event occurred during each interval within a time period.
DescribeSystemEventMetaListQueries the meta information about system events.
SendDryRunSystemEventDebugs a system event of an Alibaba Cloud service.

Custom events

APIDescription
PutCustomEventReports custom events.
DescribeCustomEventAttributeQueries the details of a custom event.
DescribeCustomEventCountQueries the number of times a custom event occurred within a time period.
DescribeCustomEventHistogramQueries the number of times a custom event occurred during each interval within a time period.

Site monitoring

Manage site monitoring tasks

APIDescription
CreateSiteMonitorCreates a site monitoring task.
ModifySiteMonitorModifies a site monitoring task.
DeleteSiteMonitorsDeletes one or more site monitoring tasks.
EnableSiteMonitorsEnables site monitoring tasks.
DisableSiteMonitorsDisables site monitoring tasks.
DescribeSiteMonitorAttributeQueries the details of a site monitoring task.
DescribeSiteMonitorListQueries site monitoring tasks.

Site monitoring data and statistics

APIDescription
DescribeSiteMonitorDataQueries the fine-grained monitoring data of a site monitoring task.
DescribeSiteMonitorStatisticsQueries the statistics of a specified metric for a site monitoring task.
DescribeSiteMonitorQuotaQueries the quotas and version of site monitoring.
DescribeSiteMonitorISPCityListQueries the detection points provided by carriers.

Instant detection and synthetic monitoring

APIDescription
CreateInstantSiteMonitorCreates a one-time detection task.
BatchCreateInstantSiteMonitorCreates a batch of site monitoring tasks.
DescribeSiteMonitorLogQueries the detection logs for a one-time detection task.
DescribeSyntheticProbeListQueries a list of detection points.

Host monitoring

Agent management

APIDescription
InstallMonitoringAgentInstalls the CloudMonitor agent on specified Alibaba Cloud hosts.
UninstallMonitoringAgentUninstalls the CloudMonitor agent from a third-party host.
DescribeMonitoringAgentHostsQueries a list of all hosts, regardless of whether the CloudMonitor agent is installed.
DescribeMonitoringAgentStatusesQueries the running status of the CloudMonitor agent.
DescribeMonitoringAgentAccessKeyQueries the AccessKey ID and AccessKey secret required to install the CloudMonitor agent on a third-party host.
DescribeMonitoringAgentConfigQueries the configurations of the CloudMonitor agent.
ModifyHostInfoModifies the display information for a non-Alibaba Cloud host.

Agent configuration

APIDescription
DescribeMonitoringConfigQueries the global configurations of the CloudMonitor agent.
PutMonitoringConfigConfigures global settings for the CloudMonitor agent.

Process monitoring

APIDescription
CreateMonitorAgentProcessCreates a task to monitor a process.
CreateMonitoringAgentProcessCreates a task to monitor a process.
DeleteMonitoringAgentProcessDisables monitoring on a process.
DescribeMonitoringAgentProcessesQueries the list of processes for a specified resource.

Application groups

Manage application groups

APIDescription
CreateMonitorGroupCreates an application group.
CreateMonitorGroupByResourceGroupIdCreates an application group by using a resource group.
ModifyMonitorGroupModifies an application group.
DeleteMonitorGroupDeletes an application group.
DescribeMonitorGroupsQueries a list of application groups.
DescribeMonitorGroupCategoriesQueries the cloud services to which the resources in an application group belong and the number of resources that belong to each cloud service in the application group.

Application group instances

APIDescription
CreateMonitorGroupInstancesAdds resources to an application group.
ModifyMonitorGroupInstancesModifies the resources in an application group.
DeleteMonitorGroupInstancesRemoves instances from an application group.
DescribeMonitorGroupInstancesQueries the resources in an application group.
DescribeMonitorGroupInstanceAttributeQueries the details of the resources in an application group.

Dynamic rules for application groups

APIDescription
PutMonitorGroupDynamicRuleCreates or modifies an alert rule to dynamically add instances that meet the rule to an application group.
DeleteMonitorGroupDynamicRuleDeletes a rule that dynamically adds service instances to an application group.
DescribeMonitorGroupDynamicRulesQueries the dynamic rules of an application group.

Alert notification policies for application groups

APIDescription
CreateMonitorGroupNotifyPolicyCreates a policy to pause alert notifications for an application group.
DeleteMonitorGroupNotifyPolicyDeletes a policy that pauses alert notifications for an application group.
DescribeMonitorGroupNotifyPolicyListQueries the policies that pause alert notifications for an application group.

Process monitoring for application groups

APIDescription
CreateGroupMonitoringAgentProcessCreates a process monitoring task for an application group.
ModifyGroupMonitoringAgentProcessModifies the process monitoring settings for an application group.
DeleteGroupMonitoringAgentProcessDeletes a process monitoring task for an application group.
DescribeGroupMonitoringAgentProcessQueries the process monitoring tasks for an application group.

Tags

APIDescription
AddTagsAttaches tags to specified application groups.
RemoveTagsRemoves one or more tags.
DescribeTagKeyListQueries a list of tag keys.
DescribeTagValueListQueries the tag values for a specified tag key.
DescribeProductResourceTagKeyListQueries all tag keys of cloud resources in a specified region.
CreateDynamicTagGroupCreates application groups automatically based on tags.
DeleteDynamicTagGroupDeletes a tag rule.
DescribeDynamicTagRuleListQueries the rules for dynamic tags.

Availability monitoring

APIDescription
CreateHostAvailabilityCreates an availability monitoring task.
ModifyHostAvailabilityModifies an availability monitoring task.
DeleteHostAvailabilityDeletes one or more availability monitoring tasks.
EnableHostAvailabilityEnables one or more availability monitoring tasks.
DisableHostAvailabilityDisables one or more availability monitoring tasks.
DescribeHostAvailabilityListQueries availability monitoring tasks.
DescribeUnhealthyHostAvailabilityQueries a list of unhealthy servers.

Log monitoring

APIDescription
PutLogMonitorCreates or modifies a log monitoring metric.
DeleteLogMonitorDeletes a log monitoring metric.
DescribeLogMonitorAttributeQueries the details of a log monitoring task.
DescribeLogMonitorListQueries log monitoring metrics.

Hybrid Cloud Monitoring

Namespaces

APIDescription
CreateHybridMonitorNamespaceCreates a namespace.
ModifyHybridMonitorNamespaceModifies a namespace.
DeleteHybridMonitorNamespaceDeletes a namespace.
DescribeHybridMonitorNamespaceListQueries a list of namespaces and the details of their data sources.

Metric import tasks

APIDescription
CreateHybridMonitorTaskCreates a data import task for a cloud service or a metric from Simple Log Service (SLS) logs.
ModifyHybridMonitorTaskModifies a metric for the logs imported from Log Service.
DeleteHybridMonitorTaskDeletes a metric import task for cloud services or a metric for logs imported from Log Service.
DescribeHybridMonitorTaskListQueries metric import tasks.
DescribeHybridMonitorDataListQueries the monitoring data in a namespace.
PutHybridMonitorMetricDataImports the monitoring data of a metric to a Hybrid Cloud Monitoring namespace.

Logstore groups

APIDescription
CreateHybridMonitorSLSGroupCreates a Logstore group for Hybrid Cloud Monitoring.
ModifyHybridMonitorSLSGroupModifies a Logstore group.
DeleteHybridMonitorSLSGroupDeletes a Logstore group.
DescribeHybridMonitorSLSGroupQueries Logstore groups.

Other operations

APIDescription
DescribeMonitorResourceQuotaAttributeQueries the resource quotas of CloudMonitor.
OpenCmsServiceActivates the CMS pay-as-you-go service.