All Products
Search
Document Center

Application Real-Time Monitoring Service:Customize settings for a Python application

Last Updated:Nov 18, 2024

Application Real-Time Monitoring Service (ARMS) allows you to customize settings for a Python application on the Custom Configurations tab of the application details page. For example, you can configure a sampling policy and modify agent switch settings.

Note

For information about how to use the ARMS API to configure the preceding settings, see SaveTraceAppConfig.

Prerequisites

An ARMS agent is installed for the application. For more information, see Application Monitoring overview.

Procedure

  1. Log on to the ARMS console. In the left-side navigation pane, choose Application Monitoring > Application List.

  2. On the Application List page, select a region in the top navigation bar and click the name of the application that you want to manage.

    Note

    If the Java图标 icon is displayed in the Language column, the application is connected to Application Monitoring. If a hyphen (-) is displayed, the application is connected to Managed Service for OpenTelemetry.

  3. In the top navigation bar, choose Configuration > Custom Configurations.

  4. Configure the parameters and click Save.

Sampling settings

In the Sampling Settings section, you can configure a sampling policy. Currently, only a fixed sampling rate can be configured for Python applications.

image

Agent switch settings

In the Probe switch settings section, you can enable or disable application monitoring.

Important

The modification of the Pause application monitoring switch takes effect immediately without the need to restart the application. If you disable monitoring for an application, the system no longer monitors the application.

image

Copy application settings to other applications

You can copy the settings of an application to other applications.

Copy a single configuration item to other applications

  1. In the section of the configuration item, click Save and Copy to Other Applications.

  2. If the Current settings are not saved message appears, click OK to save the configuration and then click Save and Copy to Other Applications.

  3. In the dialog box that appears, select a specific application or all other applications and click OK.

Copy all configuration items to other applications

  1. In the lower part of the page, click Save and Copy to Other Applications.

  2. If the Current settings are not saved message appears, click OK to save the configurations and then click Save and Copy to Other Applications.

  3. In the dialog box that appears, select a specific application or all other applications and click OK.

Globally apply application settings

You can globally apply the current application settings. If you create a new application, the settings are used by default.

  1. In the lower part of the page, click Save Current Application Settings as Global Default Configurations.

  2. If the Current settings are not saved message appears, click OK to save the configurations and then click Save Current Application Settings as Global Default Configurations.

  3. In the message that appears, click OK.