VKE can be integrated with APMPlus to provide end-to-end application performance monitoring services for applications deployed in clusters. This topic describes how to deploy an application in a cluster and integrate the cluster with APMPlus trace monitoring. APMPlus is an APM service designed for application service quality, performance, and custom instrumentation. By leveraging advanced data collection and monitoring technologies, APMPlus provides enterprises with end-to-end application performance monitoring services. It covers both server-side monitoring, such as root cause analysis for AI large models, issue identification for LLM chains, and comprehensive monitoring of agents, and client-side monitoring for the app, WebPro, mini program, PC, and OS. It helps enterprises to enhance the efficiency of troubleshooting.
Application performance observability delivers benefits such as low integration costs and non-intrusive access. It supports end-to-end monitoring capabilities for basic resource performance, service, and code layer, and the health status of online application operations. It can be integrated with Java, Go, Python, and other applications, such as large models, LLMs, and agents, through methods such as a self-developed agent and OpenTelemetry for end-to-end monitoring, which provides richer capabilities for restoring abnormal scenarios. Core features include service monitoring, trace analysis, error analysis, log monitoring, custom monitoring, alerting tasks, and other features.
tip
For more details about application performance observability, see What is APMPlus. tip
You can enable application performance monitoring for different types of workloads when you create workloads, including Deployments, StatefulSets, Jobs, CronJobs, and DaemonSets. This topic provides an example of how to create a Deployment. For configuration methods for other types of workloads, see Workloads. Configure through the console
- Go to the Deployment page.
- In the left navigation bar, click Cluster.
- On the Cluster page, click the name of the cluster for which you need to create a Deployment.
- In the left navigation bar of the cluster management page, click Workload > Deployment.
- On the Deployment page, click Create Deployment.
- In the Container configuration step, enable Full-chain Application Performance Management, and specify monitoring-related parameters.
- After you specify other workload parameters, click Confirm to complete the configuration. For more parameter configurations, see Creating Deployments.
Configure through kubectl
tip
Before you start, make sure that the following conditions are met:
When creating workloads in the cluster using YAML, you can configure application performance observability via annotations. The sample YAML code varies slightly for different application types.
The sample configuration code of the Java application is as follows:
The sample configuration code of the Python application is as follows:
The sample configuration code of the NodeJS application is as follows:
If your workload has containers of different languages, you can inject annotations for different languages at the same time. The example is as follows:
- In the left navigation bar, click Server-side monitoring. On the page that appears, click Click to go to the service list to go to the server-side monitoring page.
- In the left navigation bar of the Service List page, click Service monitoring > Services. In the service list, you can view the name of the workload monitoring service in the cluster.
- Click the service name to view its detailed monitoring information. For more details, see Service monitoring.