Help Center> Cloud Container Engine> User Guide> New Console> Workloads> Configuring a Container> Configuring APM Settings for Performance Bottleneck Analysis

Configuring APM Settings for Performance Bottleneck Analysis

Scenario

Currently, tracing, topology, and other O&M tools are supported for Java workloads. If you want to monitor the status of a Java workload, select Java probe in the APM Settings area of the Configure Advanced Settings page during workload creation and enter a monitoring group name.

You can configure Java workload monitoring when and after a workload is created.

  • You need to connect your Java application on CCE to Application Performance Management (APM) through the Pinpoint probe. For details, see Connecting a Huawei Cloud Containerized Application to APM.
  • If you have not enabled the Application Performance Management (APM) service, click Buy Package, select the number of application instances as prompted, and click Pay Now. After confirming the order, click Pay Now again to submit the order.

Procedure

  1. Log in to the CCE console.
  2. On the APM Settings tab page of the Advanced Settings pane, select Java probe. Application Performance Management (APM) will be enabled and a probe will be installed on the node.

    The probe provides call chains, topology, SQL analysis, and stack tracing for Java workloads. For running the probe, a small amount of CPU and memory resources will be consumed.

    The APM probe allocates 0.25 core of CPU and 250 MiB of memory for initializing a container.

  3. Set probe-related parameters.

    • Monitoring Group: Enter a monitoring group name, for example, testapp. If one or more monitoring groups are available, you can select one from the drop-down list.
    • Probe Version: Select the probe version.
    • Probe Upgrade Policy: By default, Auto upgrade upon restart is selected.
      • Auto upgrade upon restart: The system downloads the probe image each time the pod is restarted.
      • Manual upgrade upon restart: This policy means that if a local image is available, the local image will be used. The system downloads the probe image only when a local image is unavailable.

  4. 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.