Traces for a Resource

Last updated on 06 January, 2023

Forwarded traces are automatically mapped to the monitored resources if sufficient information (such as host.name, ip, resource.type, and resource.group) is provided during instrumentation and the resources exist. If the resources do not exist, new resources are automatically created.

For each Resource, the following DataSources are automatically applied:

  • RootServices
  • Services
  • Operations

You can set static or dynamic thresholds on these metrics globally when defining the DataSource, at the group level, or for a specific resource.

Recommendation: Set dynamic thresholds for Duration and ErrorOperationCount metrics to receive notifications of any issues with your applications. For more information, see Alerting on Trace data.

RootServices

The RootServices DataSource monitors metrics that are specific to the services running on the resource which initiates the trace. Each root service is represented by a LogicMonitor instance, and the following metrics are monitored:

Metric Description
Number of traces The numbers of traces initiated at this root service.

Services

The Services DataSource monitors metrics that are specific to each service running on the resource, regardless of whether it is a service which initiated the trace or passed through. Each service is represented by a LogicMonitor instance, and the following metrics are monitored:

Metric Description
Duration The average time taken by all operations within the service.
ErrorOperationCount The number of error operations.
OperationCount The total number of operations within the service.
UniqueOperationCount The number of unique operations within the service.

Operations

The Operations DataSource monitors metrics specific to each of the operations within the services running on the resource. Each operation is represented by a LogicMonitor instance, and the following metrics are monitored:

Metric Description
Duration The average time taken by the operation.
ErrorOperationCount The number of error operations associated with this operation.
OperationCount The total number of operations associated with this operation.
In This Article