-
Notifications
You must be signed in to change notification settings - Fork 4
XRayEmitter
pokryfka edited this page Aug 4, 2020
·
3 revisions
A type representing the ability to emit XRayRecorder.Segment
.
public protocol XRayEmitter
Sends XRayRecorder.Segment
.
Should NOT be blocking.
func send(_ segment: XRayRecorder.Segment)
Emitter may choose to postpone the operation and send XRayRecorder.Segment
s in batches.
- segment: - segment: segment
Sends pending XRayRecorder.Segment
s,
May be blocking.
func flush(_ callback: @escaping (Error?) -> Void)
- callback: - callback: callback with error if the operation failed.
Sends pending XRayRecorder.Segment
s,
May be blocking.
func shutdown(_ callback: @escaping (Error?) -> Void)
- callback: - callback: callback with error if the operation failed.
Generated 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