Click or drag to resize

ActivityTraceProperty Enumeration

Properties from Activity available for ActivityTraceLayoutRenderer

Namespace:  NLog.LayoutRenderers
Assembly:  NLog.DiagnosticSource (in NLog.DiagnosticSource.dll) Version: 6.0.2+0eed46de76afdd1b77c37573a4147a2de650621d
Syntax
public enum ActivityTraceProperty
Members
  Member nameValueDescription
Id0 Hierarchical structure identifier that is concatenation of ParentIds
SpanId1 Identifier for the current activity (Ex. database activity within current request)
ParentId2 Identifier for the parent activity
TraceId3 Identifier for the root activity (Current Request Trace Identifier)
OperationName4 Operation name.
StartTimeUtc5 Time when the operation started.
Duration6 Duration of the operation (formatted as TimeSpan)
Baggage7 Collection of key/value pairs that are passed to children of this Activity.
Tags8 Collection of key/value pairs that are NOT passed to children of this Activity
TraceState9 W3C tracestate header.
TraceFlags10ActivityTraceFlags for activity (defined by the W3C ID specification). Can be combined with Format="d"
Events11 Collection of ActivityEvent events attached to this activity
CustomProperty12 Custom property object value
SourceName13 Name of the activity source associated with this activity
SourceVersion14 Version of the activity source associated with this activity
ActivityKind15 Relationship kind between the activity, its parents, and its children. Can be combined with Format="d"
DurationMs16 Duration of the operation (formatted as TimeSpan.TotalMilliseconds)
DisplayName17 Explicit assigned Activity DisplayName (with fallback to OperationName)
TraceStateString18 Holds the W3C 'tracestate' header as a string. See also TraceStateString
Status19 Status code of the current activity (formatted as Enum name by default). Can be combined with Format="d"
StatusDescription20 Status description of the current activity
IsAllDataRequested21 Whether the activity span is sampled / recorded, and should be populated with propagation info and other details.
See Also