Cloud Container Engine
Cloud Container Engine
- Function Overview
- Product Bulletin
- Service Overview
- Billing
- Getting Started
-
User Guide
- Clusters
- Workloads
- Network
- Storage
- O&M
- Namespaces
- ConfigMaps and Secrets
- Auto Scaling
- Add-ons
- Helm Chart
- Permissions
- Settings
- Best Practices
-
API Reference
- Before You Start
- API Overview
- Calling APIs
-
APIs
- Autopilot Cluster Management
- Add-on Management for Autopilot Clusters
-
Autopilot Cluster Upgrade
- Upgrading a Cluster
- Obtaining Cluster Upgrade Task Details
- Retrying a Cluster Upgrade Task
- Obtaining a List of Cluster Upgrade Task Details
- Performing a Pre-upgrade Check for a Cluster
- Obtaining Details About a Pre-upgrade Check Task of a Cluster
- Obtaining a List of Pre-upgrade Check Tasks of a Cluster
- Performing a Post-upgrade Check for a Cluster
- Backing Up a Cluster
- Obtaining a List of Cluster Backup Task Details
- Obtaining the Cluster Upgrade Information
- Obtaining a Cluster Upgrade Path
- Obtaining the Configuration of Cluster Upgrade Feature Gates
- Enabling the Cluster Upgrade Process Booting Task
- Obtaining a List of Upgrade Workflows
- Obtaining Details About a Specified Cluster Upgrade Booting Task
- Updating the Status of a Specified Cluster Upgrade Booting Task
- Quota Management for Autopilot Clusters
- Tag Management for Autopilot Clusters
-
Chart Management for Autopilot Clusters
- Uploading a Chart
- Obtaining a Chart List
- Obtaining a Release List
- Creating a Release
- Updating a Chart
- Deleting a Chart
- Updating a Release
- Obtaining a Chart
- Deleting a Release
- Obtaining a Release
- Downloading a Chart
- Obtaining Chart Values
- Obtaining Historical Records of a Release
- Obtaining the Quota of a User Chart
- Kubernetes APIs
- Permissions and Supported Actions
- Appendix
-
FAQs
- Billing
- Workloads
- Network Management
-
Storage
- Can PVs of the EVS Type in a CCE Autopilot Cluster Be Restored After They Are Deleted or Expire?
- What Can I Do If a Storage Volume Fails to Be Created?
- Can CCE Autopilot PVCs Detect Underlying Storage Faults?
- How Can I Delete the Underlying Storage If It Remains After a Dynamically Created PVC is Deleted?
- Permissions
- General Reference
On this page
Help Center/
Cloud Container Engine_Autopilot/
User Guide/
Workloads/
Configuring a Workload/
Configuring APM
Copied.
Configuring APM
Scenario
Application Performance Management (APM) allows you to monitor Java workloads through tracing and topology. You can install APM probes to locate and analyze problems for Java workloads.
You can configure Java workload monitoring when and after a workload is created.
Prerequisites
- You have enabled the APM service. If you have not enabled the APM service, go to the APM console and enable it as prompted.
- You have created a VPC endpoint for APM. If you have not created an endpoint, create one by following the instructions on the APM console.
Precautions
- If a VPC endpoint for APM is deleted, data will fail to be uploaded to APM. If you create this endpoint again, the metrics will not be uploaded to APM automatically. In this case, you can restart the application.
- Deleting a workload that uses APM will not delete the endpoint. To delete it, go to the network console.
Procedure
- Log in to the CCE console.
- Click the cluster name to go to the cluster console, choose Workloads in the navigation pane on the left, and click the Create Workload in the upper right corner.
- When creating a workload, click APM Settings in the Advanced Settings area. By default, the probe is Disabled. You can select APM 2.0. After the probe is enabled, APM can locate and analyze problems for Java programs.
NOTE:
- The APM 2.0 probe will be initialized in an automatically-created init container named init-javaagent. This init container will be allocated 0.25 CPU cores and 250 MiB of memory.
- Adding an APM probe will add the following environment variables to all service containers: PAAS_MONITORING_GROUP, JAVA_TOOL_OPTIONS, PAAS_CLUSTER_ID, and APM_ACCESS_ADDRESS.
- Adding an APM 2.0 probe will mount a local storage volume named paas-apm2 to all service containers.
- Set probe-related parameters.
- To access APM in a CCE Autopilot cluster, you need to create a VPC endpoint for APM to connect to the VPC. For details about the VPC endpoint price, see VPC Endpoint Pricing.
- 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.
- APM Environment: (Optional) Enter an environment name.
- APM Service: Select an existing APM application.
- Sub-service: (Optional) Enter a sub-service of the APM application.
- Access key: The system automatically obtains the key information of APM. You can go to the APM console to view the key details.
For details about the APM 2.0 parameters, see APM parameters.
- 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 Topology.
Configuring APM Settings
- Log in to the CCE console.
- Click the cluster name to go to the cluster console, choose Workloads in the navigation pane, and click the desired workload name.
- On the displayed page, click the APM Settings tab and click Edit in the lower right corner.
For details about the parameters, see 4.
Parent Topic: Configuring a Workload
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot