5.6.2 SpanContext Structure

The SpanContextDataType Structure is defined in Table 11. It defines a TraceId and SpanId. This Structure can be passed between Clients and Servers (see 5.6.4).

Table 11 – SpanContextDataType
Name Type Description
SpanContextDataTypeStructureSubtype of Structure defined in OPC 10000-5

TraceId

0:GuidA unique identifier assigned to a trace.

SpanId

0:UInt64Identifier for a span in a trace. 0 is an invalid value for a SpanId. The value shall be unique within a ParentSpanId within an Application.

The SpanContextDataType representation in the AddressSpace is formally defined in Table 12

Table 12 – SpanContextDataType definition
Attribute Value
BrowseNameSpanContextDataType
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the 0:Structure defined in OPC 10000-5
ConformanceUnits
LogObject TraceContext