Help Center/ Application Performance Management/ Getting Started(2.0)/ Monitoring Java Applications/ Installing Agents for the Java Applications Deployed in CCE Containers
Updated on 2024-11-14 GMT+08:00

Installing Agents for the Java Applications Deployed in CCE Containers

  • You are advised to install self-developed Agents for the Java applications deployed in CCE containers.

Prerequisites

  • The network between your host and APM is normal.

    You can run the Telnet command to check the network.

    For example, if you select region CN-Hong Kong and set Code Source to Enhanced Agent, log in to the host where the application is deployed and run the telnet 100.125.6.106:41333 command to check the network connectivity. For details about access addresses in other regions, see Access Addresses.

  • For details, see Regions and Endpoints.
  • The AK/SK required for accessing JavaAgents have been obtained. To obtain them, log in to the APM console and choose System Management > Access Keys in the navigation pane.
    Figure 1 Obtaining an AK/SK

Usage Instruction

APM only supports Java applications deployed on CCE. Table 1 describes the parameters.

Table 1 Parameters for configuring performance management

Name

Description

Probe

Select a target probe. Options: Disable/APM 2.0.

Probe Version

Version of the probe. You are advised to select a probe type based on the CPU architecture of the node where the workload is located.

Probe Upgrade Policy

Policy for the probe upgrade. The default value is Auto upgrade upon restart.

  • Automatic upgrade upon restart: The system downloads the probe image each time the pod is restarted.
  • Manual upgrade: If a local image is available, it will be used. If no local image is available, the system downloads the probe image.

APM Environment

Enter an APM environment name. This parameter is optional.

APM App

Select an existing APM application.

Sub-app

Enter an APM sub-application. This parameter is optional.

Access Key

The system automatically obtains the APM key. For details, see Prerequisites.

For how to install Agents for Java applications deployed on the new CCE console, see CCE User Guide.