All Products
Search
Document Center

Enterprise Distributed Application Service:Add custom methods for monitoring

Last Updated:Mar 11, 2026

The Application Real-Time Monitoring Service (ARMS) agent automatically discovers and monitors common methods in your application. If ARMS does not detect a method you need to track, you can add it as a custom monitored method.

When to add a custom method

Add a custom method when:

  • ARMS does not auto-detect a method you want to monitor.

  • You need a specific method to appear in the local method stack for debugging.

  • You want to designate a method as a business entry point for trace-based queries.

Key concepts

ConceptDescription
Custom methodA manually specified method that ARMS monitors alongside auto-discovered methods. Custom methods appear in the local method stack.
Call EntranceMarks a method as a business entry point. When enabled, the method generates trace data, and its APIs appear on the Interface Invocation page.

Add a custom method

Prerequisites

Before you begin, make sure that you have:

  • An application deployed on a Kubernetes cluster in Enterprise Distributed Application Service (EDAS)

  • The ARMS agent enabled for the application

  • The name of the method you want to monitor

Open the monitoring configuration

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications.

  3. In the top navigation bar, select a region. In the upper part of the page, select a microservice namespace. From the Cluster Type drop-down list, select Kubernetes Cluster.

  4. Find the target application and click its name in the Application Name column.

  5. In the left-side navigation pane, choose Application Settings > Application Monitoring Configuration.

  6. Click the Monitoring Method Customization tab.

Configure the custom method

  1. On the Monitoring Method Customization tab, click Add Method in the upper-right corner.

  2. In the Add Custom Method dialog box, configure the following parameters.

    Add Custom Method dialog box
    ParameterDescriptionDefault
    MethodThe name of the custom method. The name must be unique within the application.N/A
    EnableTurns monitoring on or off for this method. When enabled, the method appears in the local method stack. You can toggle this at any time without restarting the application.On
    Call EntranceSets this method as a business entry point. When enabled, you can query business data based on traces, and the corresponding APIs appear on the Interface Invocation page. For more information, see Service and API monitoring.Off
  3. Click OK.

The custom method appears in the method list immediately.

Verify and manage custom methods

After you add a custom method:

  • If you enabled Call Entrance, go to the Interface Invocation page to verify that the method's APIs appear in traces.

  • To temporarily stop monitoring a method, toggle its Enable switch off. No application restart is required.