The custom query feature of Application Real-Time Monitoring Service (ARMS) lets you extract valuable information from large volumes of log data, streamlining error detection and resolution.
Prerequisite
The data of the application that you want to monitor is reported to Managed Service for OpenTelemetry. For more information, see Integration guide.
Procedure
Log on to the Managed Service for OpenTelemetry console.
In the left-side navigation pane, choose
. In the top navigation bar, select the region you want.In the search box, enter query analytic statements in the Query statement|Analytic statement format. For information about the syntax of query analytic statements, see Query syntax and functions and Aggregate functions.
In the upper right corner, set the time range for the query analysis. You can set a relative time, time frame, or custom time range.
In the Index Attributes drop-down list, customize field queries and indexes based on your business requirements.
(Optional) Click the bell button to save the query as an alert. For more information, see Create an alert rule.
Next steps
To prevent certain errors from being diagnosed, you can use the alerting feature to create alert rules for certain operations. When the specified errors occur, the system automatically notifies your O&M team. For more information about how to create an alert rule, see Create an alert rule.