All Products
Search
Document Center

Container Service for Kubernetes:Application monitoring overview

Last Updated:Mar 13, 2025

Container Service for Kubernetes (ACK) is seamlessly integrated with Application Real-Time Monitoring Service (ARMS) to support performance monitoring for Java, Python, and Golang applications. This improves the efficiency of online issue diagnostics without code modifications.

Installation and integration

By integrating ARMS monitoring features into your Java, Python, and Golang applications, you can achieve comprehensive application performance monitoring and improve the efficiency of online issue diagnostics.

Application type

Diagnostic procedure

References

Java application

You can use the application performance management (APM) features provided by ARMS to monitor Java applications without the need to modify application code. You can use ARMS to automatically discover application topologies, generate 3D topologies, monitor interfaces, monitor resources in Java virtual machines (JVMs), capture exceptions, and monitor slow transactions. Prodecure:

  1. Install the ack-onepilot component in the ACK console.

  2. Grant your cluster the permissions to access ARMS: Check whether the token named addon.arms.token exists in the cluster. You can also manually grant your cluster the permissions to access ARMS.

  3. Enable ARMS for your application: Add specific labels to the YAML file of your application to enable ARMS.

Java Application Monitoring

Python application

You can use the APM features provided by ARMS to monitor Python applications with code rewriting. When you build container images, you must use compilers to compile the Go binary files to generate application topologies, enable tracing, analyze API calls, detect exceptions, and track and record interactions with large models. Prodecure:

  1. Install ack-onepilot 3.2.4 or later.

  2. Grant your cluster the permissions to access ARMS: Check whether the token named addon.arms.token exists in the cluster. You can also manually grant your cluster the permissions to access ARMS.

  3. Install an ARMS agent:

    1. Modify the Dockerfile to install an ARMS agent for Python.

    2. Download and install the alieun-bootstrap agent.

    3. Run the aliyun-instrument command to start the application.

    4. Add specific labels to the YAML file of your application to enable ARMS.

Python Application Monitoring

Golang application

You can use the APM features provided by ARMS to monitor Python applications with code rewriting. You must modify the application code or use the OpenTelemetry protocol to generate application topologies, analyze API calls, or analyze databases. Prodecure:

  1. Install ack-onepilot 3.2.0 or later.

  2. Grant your cluster the permissions to access ARMS: Check whether the token named addon.arms.token exists in the cluster. You can also manually grant your cluster the permissions to access ARMS.

  3. Compile the Go binary file:

    • Run the wget command to down the instgo tool provided by ARMS.

    • Use instgo to compile a Go application.

    • Build an image and deploy an application by using the image.

    • Add specific labels to the YAML file of your application to enable ARMS.

Go Application Monitoring

After you install and configure ARMS in your cluster, you can view real-time monitoring data for your application in the ARMS console. The monitoring data includes information about application topologies, API call analysis results, and exception detection results. You can identify and resolve performance issues based on the preceding information.

References

For more information about the ack-onepilot agent and the release notes for the agent, see ack-onepilot.