-
Notifications
You must be signed in to change notification settings - Fork 4
XRayRecorder_TraceID
pokryfka edited this page Aug 3, 2020
·
3 revisions
X-Ray Trace ID used to group XRayRecorder.Segments.
public struct TraceID: RawRepresentable, EquatableA trace_id consists of three numbers separated by hyphens.
For example, 1-58406520-a006649127e371903a2de979. This includes:
-
The version number, that is, 1.
-
The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For example, 10:00AM December 1st, 2016 PST in epoch time is
1480615200seconds, or58406520in hexadecimal digits. -
A 96-bit identifier for the trace, globally unique, in 24 hexadecimal digits.
Equatable, RawRepresentable
public init?(rawValue: String)Creates new TraceID.
public init()var rawValue: StringGenerated at 2020-08-17T04:20:53+0000 using swift-doc 1.0.0-beta.4.
Types
- AnyCodable
- AnyDecodable
- AnyEncodable
- XRayLogEmitter
- XRayNoOpEmitter
- XRayNoOpRecorder
- XRayRecorder
- XRayRecorder.Config
- XRayRecorder.Config.ContextMissingStrategy
- XRayRecorder.Segment
- XRayRecorder.Segment.ID
- XRayRecorder.Timestamp
- XRayRecorder.TraceContext
- XRayRecorder.TraceID
- XRayUDPEmitter
- XRayUDPEmitter.Config
- XRayUDPEmitter.EventLoopGroupProvider
- XRayUDPEmitter.SegmentEncoding