Connecting a HUAWEI CLOUD Containerized Application to APM

If your containerized application has been deployed on the cloud, learn Application Performance Management (APM) based on the following procedure. This section describes how to connect a Java application on a container service to APM through the Pinpoint probe.

Prerequisites

  • You have subscribed to Cloud Container Engine (CCE), Application Orchestration Service (AOS), and ServiceStage.
  • You have deployed Java applications on CCE, AOS, and ServiceStage.

Procedure

Step 1: Subscribe to APM

See Subscribing to APM and Buying a Package.

Step 2: Enable Application Monitoring

You need to perform operations based on application deployment modes. Currently, APM supports application deployment through:

ServiceStage Mode

ServiceStage is a one-stop DevOps platform service oriented for enterprises and developers. If you select the probe when using ServiceStage to create a cluster, APM is automatically connected to the application.

Figure 1 Selecting the Java probe when creating an application
Figure 2 Selecting the Java probe

AOS Mode

For AOS, when you add the designer pinpoint to a template during compilation, the APM collection probe is added to a stack. After the template is compiled and the stack is created, APM is automatically connected to the application.

Adding the designer pinpoint to a template:

CCE Mode

CCE provides containerized application management. If you select the probe when creating or upgrading an application, the APM collection probe is installed on the application.

Figure 3 Selecting the Java probe when creating an application
Figure 4 Selecting the Java probe
Figure 5 Selecting the probe when upgrading an application

Step 3: Manage the Application on APM

Three minutes after the application is started, its data will be displayed on the APM console. You can log in to the APM console and optimize application performance through topology and tracing. For details, see APM User Guide.