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.
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
Log on to the ARMS console. In the left-side navigation pane, choose .
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.
NoteIf the 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.
In the top navigation bar, choose
.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.
Agent switch settings
In the Probe switch settings section, you can enable or disable application monitoring.
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.
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
In the section of the configuration item, click Save and Copy to Other Applications.
If the Current settings are not saved message appears, click OK to save the configuration and then click Save and Copy to Other Applications.
In the dialog box that appears, select a specific application or all other applications and click OK.
Copy all configuration items to other applications
In the lower part of the page, click Save and Copy to Other Applications.
If the Current settings are not saved message appears, click OK to save the configurations and then click Save and Copy to Other Applications.
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.
In the lower part of the page, click Save Current Application Settings as Global Default Configurations.
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.
In the message that appears, click OK.