All Products
Search
Document Center

Cloud Monitor:Cloud-native API Gateway integration

Last Updated:Jun 22, 2026

Integrate the metrics and logs of Cloud-native API Gateway with Cloud Monitor 2.0 to enable unified gateway monitoring.

Prerequisites

Billing

Procedure

  1. Log on to the Cloud Monitor 2.0 console. After selecting a workspace, click Integration Center in the left-side navigation pane, and then click CNAPIGateway to start the integration.

  2. Enter or select a Policy name, and select the entity scope.

  3. Select the observability data that you want to integrate and click OK.

    Observability data

    Description

    integration name

    Optional. A name for the integration.

    Cloud-native API Gateway metric monitoring

    Enables gateway performance monitoring. After integration, you can view and configure key metrics such as QPS, latency, error rate, and CPU/memory usage.

    Cloud-native API Gateway logs

    Enables gateway log collection. After integration, the system collects and stores detailed request logs, including request time, source IP address, request URI, and response status code. Use the logs for auditing and troubleshooting.

  4. After the integration, you can view the integrated entities and their observability data in Entity Explorer.

Storage policy

When you integrate a Cloud-native API Gateway instance, Cloud Monitor automatically creates an SLS Logstore and a Managed Service for Prometheus instance to store the observability data.

Type

Default storage location

Remarks

metrics

Managed Service for Prometheus instance: RegionShare:{{workspaceName}}:{{regionId}}

None

logs

SLS project: aliyun-product-data-{{userId}}-{{regionId}}

SLS Logstore: apig-access-log

None

Modify or remove integration policy

To modify or remove a Cloud-native API Gateway integration, go to the Integration Management page in Integration Center. Find the integration policy and click Edit or Delete.