Synthetic Monitoring is a proactive monitoring tool that allows you to regularly check your service health. By integrating it with tracing, you gain end-to-end visibility into each synthetic request. This integration lets you view the full trace for every test run, which is crucial for assessing system performance. You can also use a traffic tag to isolate and analyze traces generated by Synthetic Monitoring in Trace Explorer.
Prerequisites
To integrate ARMS Synthetic Monitoring with tracing, first deploy a tracing agent for your application. You can do this in one of the following ways:
-
Deploy an ARMS agent. For instructions, see Connect your application.
-
Deploy other agents, such as OpenTelemetry or Jaeger. For instructions, see Managed Service for OpenTelemetry Integration Guide.
Currently, Synthetic Monitoring only supports integration with tracing instrumented by ARMS, OpenTelemetry, and Jaeger agents.
Usage
Task configuration
You can configure tracing for HTTP-based tasks. When you create an HTTP task, the tracing parameters are available in STEP 3.
|
Parameter |
Description |
|
Tracing |
Enables tracing for the Synthetic Monitoring task. |
|
Agent Type |
Select your agent type. |
|
Service deployment region |
Select the region where you connected your application to Application Monitoring or Managed Service for OpenTelemetry. |
Currently, only ECS instance and data center monitoring points support tracing integration.
View traces
View in the Synthetic Monitoring console
Path 1: Navigate to the Task Explorer tab of the target synthetic task. In the list of test runs, click View Trace.
Path 2: On the Task Explorer tab of the target synthetic task, click Details for a specific test run. In the details panel, click View Trace.
View in Trace Explorer
Navigate to the page. To filter for traces from a specific synthetic task, set the filter condition to attributes.traffic="aliyun-synthetic-${taskId}". Replace ${taskId} with your actual task ID. The page will then display all traces generated by that synthetic task.