Trace and Span Attributes for APM .NET Agent
The trace (root span) and span attributes in Trace Explorer are defined by tagging a span, which enable the effective monitoring of the various tiers of an application.
Attributes are key-value pairs attached to a span to provide additional information and context about the operation performed in the span. A trace has some trace only attributes as well as all the span attributes of the root span.
In Trace Explorer, you can use attributes to query and filter traces and spans. There are two types of attributes: Dimensions (string attributes) and Metrics (numeric attributes) which are available in the Attributes panel in Trace Explorer.
This section provides a complete list of the out-of-the-box attributes applicable to APM .NET agent. The below table includes:
- Name: Name of the attribute.
- Description: Brief description of the attribute.
- Trace/Span: Availability of the attribute. A attribute can be available for traces, spans, or both.
- Type: Type of attribute: Dimension or Metric.
Name | Description | Trace/Span | Type |
---|---|---|---|
AppserverName |
The name of the application server. | Trace and span attribute | Dimension |
Component |
The component that generated the span from the
https://opentracing.io/specification/conventions/
standard, with values such as JDBC, SERVLET, and BROWSER.
|
Trace and span attribute | Dimension |
DisplayName |
The display name of the application server. | Trace and span attribute | Dimension |
Hostname |
The name of the host. | Trace and span attribute | Dimension |
ProcessName |
The process name of the application server. | Trace and span attribute | Dimension |