ActivityTraceProperty Enumeration |
Namespace: NLog.LayoutRenderers
| Member name | Value | Description | |
|---|---|---|---|
| Id | 0 | Hierarchical structure identifier that is concatenation of ParentIds | |
| SpanId | 1 | Identifier for the current activity (Ex. database activity within current request) | |
| ParentId | 2 | Identifier for the parent activity | |
| TraceId | 3 | Identifier for the root activity (Current Request Trace Identifier) | |
| OperationName | 4 | Operation name. | |
| StartTimeUtc | 5 | Time when the operation started. | |
| Duration | 6 | Duration of the operation (formatted as TimeSpan) | |
| Baggage | 7 | Collection of key/value pairs that are passed to children of this Activity. | |
| Tags | 8 | Collection of key/value pairs that are NOT passed to children of this Activity | |
| TraceState | 9 | W3C tracestate header. | |
| TraceFlags | 10 | ActivityTraceFlags for activity (defined by the W3C ID specification). Can be combined with Format="d" | |
| Events | 11 | Collection of ActivityEvent events attached to this activity | |
| CustomProperty | 12 | Custom property object value | |
| SourceName | 13 | Name of the activity source associated with this activity | |
| SourceVersion | 14 | Version of the activity source associated with this activity | |
| ActivityKind | 15 | Relationship kind between the activity, its parents, and its children. Can be combined with Format="d" | |
| DurationMs | 16 | Duration of the operation (formatted as TimeSpan.TotalMilliseconds) | |
| DisplayName | 17 | Explicit assigned Activity DisplayName (with fallback to OperationName) | |
| TraceStateString | 18 | Holds the W3C 'tracestate' header as a string. See also TraceStateString | |
| Status | 19 | Status code of the current activity (formatted as Enum name by default). Can be combined with Format="d" | |
| StatusDescription | 20 | Status description of the current activity | |
| IsAllDataRequested | 21 | Whether the activity span is sampled / recorded, and should be populated with propagation info and other details. |