All Products
Search
Document Center

Managed Service for OpenTelemetry:Custom query

Last Updated:Jan 27, 2025

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

  1. Log on to the Managed Service for OpenTelemetry console.

  2. In the left-side navigation pane, choose Advanced Query > Custom Query. In the top navigation bar, select the region you want.

  3. 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.

  4. 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.

  5. In the Index Attributes drop-down list, customize field queries and indexes based on your business requirements.

  6. (Optional) Click the bell button to save the query as an alert. For more information, see Create an alert rule.

image

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.