Try it free

Alibaba Cloud extension

  • Latest Dynatrace
  • Extension

Automatically discover, baseline, and monitor Alibaba Cloud environment components.

Get started

Overview

Access essential metrics from the Alibaba Console for ECS, SLB, NAS, NAT Gateway, CEN, and VPN services. Optionally monitor database workloads (ApsaraDB RDS for MySQL, PostgreSQL, and SQL Server, and ApsaraDB for MongoDB). Ingest Alibaba tags to enrich Dynatrace entities with cloud metadata.

Use cases

  • Monitor the health and performance of the Alibaba Cloud.
  • Focus on the compute, storage, and networking foundation of your Alibaba Cloud.
  • Optionally observe RDS and MongoDB database instances when the corresponding feature sets are enabled.
  • Ingest Alibaba tags and use them in the Dynatrace Platform.

Requirements

The Alibaba Cloud extension is executed by ActiveGate (remote monitoring). You need to have an ActiveGate provisioned in your environment and networking set up so that the ActiveGate can connect to the Alibaba Cloud tenant you are about to monitor.

Activation and setup

  1. Go to Dynatrace Hub Hub and activate the Alibaba Cloud extension.

  2. Provide your Alibaba Cloud monitoring endpoint information for each region you want to monitor (one configuration per region):

    • Region ID: See Regions and zones in the Alibaba Cloud documentation.
    • access-key-id and access-key-secret (or the associated Dynatrace Vault)
  3. To ingest Alibaba tags, provide a Dynatrace Token with the entities.read and entities.write scope for each endpoint you are about to monitor on your Alibaba Cloud.

Exact RAM action names vary by console wording and evolve over time. Authorize read-only capabilities for RDS, MongoDB/DDS, and Cloud Monitor in line with your security baseline. Consult the official Alibaba Cloud OpenAPI and Cloud Monitor documentation for exact RAM actions, endpoint maps, and quota limits. Restrict keys and networks according to your organization's policies.

Details

The Alibaba Cloud extension collects metrics and topology for:

  • AliCloud ECS
  • AliCloud SLB
  • AliCloud NAT Gateway
  • AliCloud CEN
  • AliCloud NAS
  • AliCloud VPN

Optional database services (enable per feature set during activation):

  • ApsaraDB RDS for MySQL (rds_mysql)
  • ApsaraDB RDS for PostgreSQL (rds_postgresql)
  • ApsaraDB RDS for SQL Server (rds_sqlserver)
  • ApsaraDB for MongoDB: Single Node, Replica Set, and Sharding (mongodb)

When tag import is configured, the extension also retrieves Alibaba tags and correlates them with OneAgent entities for enhanced observability.

The Alibaba Cloud extension is packaged with overview dashboards and service-specific dashboards (including optional Classic and Gen3 documents for database engines) that serve as a starting point for data analysis.

For metric names, Alibaba APIs (Cloud Monitor versus RDS performance), and access planning, see Database monitoring.

The Alibaba Cloud extension does not cover every single service available on Alibaba Cloud.

Licensing and costs

There is no charge to use the extension. You are only charged for the data that the extension ingests.

The Alibaba Cloud extension ingests custom metrics, which consume Davis Data Units (DDUs) (Dynatrace classic license) or Metrics powered by Grail (DPS), according to your license model.

The following formula approximates annual ingested data points with all infrastructure feature sets enabled, plus any database feature sets you turn on.

(
( 5 * number of ECS )
+ ( 6 * number of SLB )
+ ( 4 * number of NatGW )
+ ( 4 * number of CEN )
+ ( 6 * number of NAS )
+ ( 7 * number of VPN )
+ ( 12 * number of RDS MySQL instances ) -- if rds_mysql enabled
+ ( 17 * number of RDS PostgreSQL instances ) -- if rds_postgresql enabled
+ ( 18 * number of RDS SQL Server instances ) -- if rds_sqlserver enabled
+ ( 13 * number of MongoDB instances ) -- if mongodb enabled
) * 60 minutes * 24 hours * 365 days data points per year

Database counts are per monitored region. Omit any line for a feature set you don't activate.

Dynatrace Platform Subscription

In the Dynatrace Platform Subscription, metric ingestion consumes Metrics powered by Grail according to the number of ingested metric data points.

Dynatrace classic license

In the classic licensing model, metric ingestion consumes Davis Data Units (DDUs) at the rate of .001 DDUs per metric data point. Multiply the above formula for annual data points by .001 to estimate annual DDU usage.

Database monitoring

Database monitoring is optional. Enable only the engines you use:

Activation feature setAlibaba products (conceptual)Primary Dynatrace metric prefix

rds_mysql

ApsaraDB RDS for MySQL

cloud.alicloud.rds.mysql.*

rds_postgresql

ApsaraDB RDS for PostgreSQL

cloud.alicloud.rds.postgresql.*

rds_sqlserver

ApsaraDB RDS for SQL Server

cloud.alicloud.rds.sqlserver.*

mongodb

ApsaraDB for MongoDB

cloud.alicloud.mongodb.*

Each enabled feature set discovers instances per configured region—one Dynatrace monitoring configuration per Alibaba region.

API reference

The current implementation reads RDS MySQL metrics from Cloud Monitor (DescribeMetricList), namespace acs_rds_dashboard, with per-instance dimensions. RDS PostgreSQL and RDS SQL Server metrics are read from the RDS DescribeDBInstancePerformance API for the keys listed below. The current implementation does not populate these Dynatrace series from Cloud Monitor DescribeMetricList, even though Cloud Monitor may expose analogous names in the Alibaba console.

PurposeAPI styleTypical operationsUsed for feature sets

Instance inventory

RDS OpenAPI

Instance describe/list operations for RDS

rds_mysql, rds_postgresql, rds_sqlserver

Instance inventory

MongoDB / DDS OpenAPI

MongoDB instance describe/list

mongodb

Time-series metrics (MySQL, MongoDB)

Cloud Monitor

Metric list query for namespace-specific metric names

rds_mysql, mongodb

Time-series metrics (PostgreSQL, SQL Server)

RDS OpenAPI

DescribeDBInstancePerformance (performance keys, batched)

rds_postgresql, rds_sqlserver

RDS MySQL metrics

Cloud Monitor namespace acs_rds_dashboard. For each discovered DBInstanceId, Cloud Monitor is queried with dimensions that bind the series to that instance (JSON dimension including instanceId set to the DB instance id). The period is aligned with minute granularity for instance-scoped metrics.

Dynatrace metric keyCloud Monitor MetricNameNotes

cloud.alicloud.rds.mysql.cpu_utilization

CpuUsage

Host CPU utilization

cloud.alicloud.rds.mysql.memory_utilization

MemoryUsage

Host memory utilization

cloud.alicloud.rds.mysql.connection_utilization

ConnectionUsage

Connection pool usage

cloud.alicloud.rds.mysql.disk_utilization

DiskUsage

Disk usage

cloud.alicloud.rds.mysql.iops_utilization

IOPSUsage

IOPS usage

cloud.alicloud.rds.mysql.active_sessions

MySQL_ActiveSessions

Active sessions

cloud.alicloud.rds.mysql.threads_running

MySQL_ThreadsRunning

Threads running

cloud.alicloud.rds.mysql.threads_connected

MySQL_ThreadsConnected

Threads connected

cloud.alicloud.rds.mysql.qps

MySQL_QPS

Queries per second

cloud.alicloud.rds.mysql.tps

MySQL_TPS

Transactions per second

cloud.alicloud.rds.mysql.slow_queries

MySQL_SlowQueries

Slow query count

cloud.alicloud.rds.mysql.row_lock_time_ms

MySQL_InnoDBRowLockTimePs

InnoDB row lock time (per second–scaled field name in Cloud Monitor)

RDS PostgreSQL metrics

RDS DescribeDBInstancePerformance with multiple Key parameters per request (batched). Values are parsed from the latest returned sample for each key.

The table lists the performance Key values the collector requests, with their corresponding Dynatrace metric keys. Some Dynatrace metrics are derived from multiple sub-fields (for example disk or connection utilization).

Dynatrace metric keyRDS performance Key (representative)Notes

cloud.alicloud.rds.postgresql.cpu_utilization

CpuUsage

Sub-field example: cpu_usage

cloud.alicloud.rds.postgresql.memory_utilization

MemoryUsage

Sub-field example: mem_usage

cloud.alicloud.rds.postgresql.iops_utilization

PgSQL_IOPS

Derived from data/log IOPS components when present

cloud.alicloud.rds.postgresql.disk_total

PolarDBLocalDiskUsage

Aggregates size-related sub-fields when present

cloud.alicloud.rds.postgresql.disk_used

PgSQL_SpaceUsage

Uses space usage sub-fields

cloud.alicloud.rds.postgresql.disk_utilization

(derived)

From disk used / disk total when both available

cloud.alicloud.rds.postgresql.long_running_queries

PolarDBLongSQL

Long-running SQL signal

cloud.alicloud.rds.postgresql.connection_total

PolarDBConnections

Sub-field: total sessions (representative)

cloud.alicloud.rds.postgresql.connection_active

PolarDBConnections

Active sessions

cloud.alicloud.rds.postgresql.connection_idle

PolarDBConnections

Idle connections

cloud.alicloud.rds.postgresql.connection_waiting

PolarDBConnections

Waiting connections

cloud.alicloud.rds.postgresql.connection_utilization

(derived)

From active / total when both available

cloud.alicloud.rds.postgresql.qps

PolarDBQPSTPS

Commit / TPS-related sub-fields

cloud.alicloud.rds.postgresql.max_query_time

PolarDBLongSQL / PolarDBSwellTime

Best-effort maximum from available sub-fields

cloud.alicloud.rds.postgresql.replication_lag

PolarDBReplication

Replication latency sub-fields

cloud.alicloud.rds.postgresql.network_in

—

Not ingested by the current collector (no stable performance mapping)

cloud.alicloud.rds.postgresql.network_out

—

Not ingested by the current collector

Additional performance keys may be requested for parsing resilience. Only metrics that resolve to a numeric value are emitted to Dynatrace.

RDS SQL Server metrics

Dynatrace metric keyRDS performance KeyRepresentative sub-field

cloud.alicloud.rds.sqlserver.cpu_utilization

SQLServer_InstanceCPUUsage

e.g. sqlserver_inscpu

cloud.alicloud.rds.sqlserver.memory_utilization

SQLServer_InstanceMemUsage

e.g. sqlserver_insmem

cloud.alicloud.rds.sqlserver.disk_utilization

SQLServer_InstanceDiskUsage

e.g. InstanceDiskUsage

cloud.alicloud.rds.sqlserver.connection_total

SQLServer_Sessions

e.g. sqlserver_sessions

cloud.alicloud.rds.sqlserver.active_sessions

SQLServer_Sessions

e.g. sqlserver_activesession

cloud.alicloud.rds.sqlserver.qps

SQLServer_QPS

e.g. sqlserver_qps

cloud.alicloud.rds.sqlserver.tps

SQLServer_Transactions

e.g. sqlserver_transactions

cloud.alicloud.rds.sqlserver.iops_utilization

SQLServer_InstanceIOPSUsage

e.g. InstanceIOPSUsageNoBurst

cloud.alicloud.rds.sqlserver.iops

SQLServer_IOPS

e.g. db_io

cloud.alicloud.rds.sqlserver.throughput

SQLServer_MBPS

e.g. mBps_total

cloud.alicloud.rds.sqlserver.network_in

SQLServer_NetworkTraffic

e.g. write_kb

cloud.alicloud.rds.sqlserver.network_out

SQLServer_NetworkTraffic

e.g. read_kb

cloud.alicloud.rds.sqlserver.cache_hit_ratio

SQLServer_BufferHit

e.g. cache hit ratio

cloud.alicloud.rds.sqlserver.lock_waits

SQLServer_LockWaits

e.g. lock waits per second

cloud.alicloud.rds.sqlserver.lock_timeouts

SQLServer_LockTimeout

e.g. lock timeouts

cloud.alicloud.rds.sqlserver.deadlocks

SQLServer_Deadlock

e.g. deadlocks

cloud.alicloud.rds.sqlserver.blocked_processes

SQLServer_Block

e.g. Processes_blocked

cloud.alicloud.rds.sqlserver.longest_transaction_time

SQLServer_Block

e.g. longest transaction duration

MongoDB metrics

Cloud Monitor namespace acs_mongodb. Discovery determines the deployment category—single node, replica set, or sharding. The same Dynatrace metric keys are used for all categories; only the Cloud Monitor metric name prefix changes.

Dynatrace metric keySingle Node MetricNameReplica Set MetricNameSharding MetricName

cloud.alicloud.mongodb.cpu_utilization

SingleNodeCPUUtilization

CPUUtilization

ShardingCPUUtilization

cloud.alicloud.mongodb.memory_utilization

SingleNodeMemoryUtilization

MemoryUtilization

ShardingMemoryUtilization

cloud.alicloud.mongodb.connections

SingleNodeConnectionAmount

ConnectionAmount

ShardingConnectionAmount

cloud.alicloud.mongodb.connection_utilization

SingleNodeConnectionUtilization

ConnectionUtilization

ShardingConnectionUtilization

cloud.alicloud.mongodb.disk_utilization

SingleNodeDiskUtilization

DiskUtilization

ShardingDiskUtilization

cloud.alicloud.mongodb.network_in

SingleNodeIntranetIn

IntranetIn

ShardingIntranetIn

cloud.alicloud.mongodb.network_out

SingleNodeIntranetOut

IntranetOut

ShardingIntranetOut

cloud.alicloud.mongodb.qps

SingleNodeQPS

QPS

ShardingQPS

cloud.alicloud.mongodb.requests

SingleNodeNumberRequests

NumberRequests

ShardingNumberRequests

cloud.alicloud.mongodb.op_command

SingleNodeOpCommand

OpCommand

ShardingOpCommand

cloud.alicloud.mongodb.op_insert

SingleNodeOpInsert

OpInsert

ShardingOpInsert

cloud.alicloud.mongodb.op_query

SingleNodeOpQuery

OpQuery

ShardingOpQuery

cloud.alicloud.mongodb.op_update

SingleNodeOpUpdate

OpUpdate

ShardingOpUpdate

Instances with an unrecognized category are skipped for metric collection.

Topology and tagging

When database feature sets are enabled, instances appear under dedicated Dynatrace topology types (one cloud entity type per engine). Optional tag import into Dynatrace applies to those entity types when configured and requires a Dynatrace API token with the entity scopes listed in Activation and setup.

Feature sets

When activating your extension using monitoring configuration, you can limit monitoring to one of the feature sets. To work properly, the extension has to collect at least one metric after the activation.

In highly segmented networks, feature sets can reflect the segments of your environment. Then, when you create a monitoring configuration, you can select a feature set and a corresponding ActiveGate group that can connect to this particular segment.

All metrics that aren't categorized into any feature set are considered to be the default and are always reported.

A metric inherits the feature set of a subgroup, which in turn inherits the feature set of a group. Also, the feature set defined on the metric level overrides the feature set defined on the subgroup level, which in turn overrides the feature set defined on the group level.

natGateway
Metric nameMetric keyDescription
Network Bandwidth RX from Outsidecloud.alicloud.nat_gateway.network.bw_rx_from_outside—
Network Bandwidth TX to Outsidecloud.alicloud.nat_gateway.network.bw_tx_to_outside—
Network Bandwidth RX from Insidecloud.alicloud.nat_gateway.network.bw_rx_from_inside—
Network Bandwidth TX to Insidecloud.alicloud.nat_gateway.network.bw_tx_to_inside—
ecs
Metric nameMetric keyDescription
CPU Utilizationcloud.alicloud.ecs.cpu_utilization—
RAM Utilizationcloud.alicloud.ecs.memory_utilization—
IO Readcloud.alicloud.ecs.disk.io_read—
IO Writecloud.alicloud.ecs.disk.io_write—
Loadcloud.alicloud.ecs.load—
—cloud.alicloud.ecs.status—
slb
Metric nameMetric keyDescription
Network RXcloud.alicloud.slb.network.traffic_rx—
Network TXcloud.alicloud.slb.network.traffic_tx—
Network Drop RXcloud.alicloud.slb.network.drop_rx—
Network Drop TXcloud.alicloud.slb.network.drop_tx—
Healthy Server Countcloud.alicloud.slb.healthyservercount—
Unhealthy Server Countcloud.alicloud.slb.unhealthyservercount—
cen
Metric nameMetric keyDescription
Network Internet Bandwidth RXcloud.alicloud.cen.network.bw_rx_internet—
Network Internet Bandwidth TXcloud.alicloud.cen.network.bw_tx_internet—
Latency Healthcheckcloud.alicloud.cen.healthcheck.latency—
Loss Healthcheckcloud.alicloud.cen.healthcheck.loss—
nas
Metric nameMetric keyDescription
IOPS Readcloud.alicloud.nas.disk.iops_r—
IOPS Writecloud.alicloud.nas.disk.iops_w—
Latency Readcloud.alicloud.nas.disk.latency_r—
Latency Writecloud.alicloud.nas.disk.latency_w—
Aligned Sizecloud.alicloud.nas.disk.alignedsize—
Secondary Aligned Sizecloud.alicloud.nas.disk.secondaryalignedsize—
vpn
Metric nameMetric keyDescription
SSL Client Countcloud.alicloud.vpn.ssl.clientcount—
IPsec Bandwidth TXcloud.alicloud.vpn.network.ipsec.bw_tx—
IPsec Bandwidth RXcloud.alicloud.vpn.network.ipsec.bw_rx—
Bandwidth TXcloud.alicloud.vpn.network.bw_tx—
Bandwidth RXcloud.alicloud.vpn.network.bw_rx—
Bandwidth Utilization TXcloud.alicloud.vpn.network.bw_utilization_tx—
Bandwidth Utilization RXcloud.alicloud.vpn.network.bw_utilization_rx—

FAQ

Should I split the monitoring configuration into many instances to scale the Alibaba Cloud extension out?

One monitoring configuration can track one or more Alibaba Cloud instances. Multiple monitoring configurations are not mandatory.

I use a proxy to connect to Alibaba Cloud. How can I enable a proxy connection in the Alibaba Cloud extension?

Proxy support is planned for a future extension version.

Does the Alibaba Cloud extension support monitoring of other entities, such as CDNs?

Not yet. We look forward to your feedback on the enhancements that would make this extension better suited to your environment. Post your product idea to the Dynatrace Community, and let others up-vote it!

Hub

Explore in Dynatrace Hub

Automatically discover, baseline, and monitor Alibaba Cloud environment components.

Related tags
CloudPythonCloud infrastructureAlibabaInfrastructure Observability