-
Notifications
You must be signed in to change notification settings - Fork 4
XRayRecorder_Config
pokryfka edited this page Aug 3, 2020
·
2 revisions
XRayRecorder
configuration.
public struct Config
Creates new XRayRecorder
configuration.
public init(enabled: Bool? = nil, contextMissingStrategy: ContextMissingStrategy? = nil, logLevel: Logger.Level? = nil, serviceVersion: String? = nil)
- enabled: - enabled: set
false
to disable tracing, enabled by default unlessAWS_XRAY_SDK_ENABLED
environment variable is set to false. - daemonEndpoint: - daemonEndpoint: the IP address and port of the X-Ray daemon listener,
127.0.0.1:2000
by default; if not specified the value of theAWS_XRAY_DAEMON_ADDRESS
environment variable is used. - contextMissingStrategy: - contextMissingStrategy: -
RUNTIME_ERROR
- Indicate that a precondition was violated.-
LOG_ERROR
- Log an error and continue.
-
- logLevel: - logLevel: swift-log logging level,
info
by default; if not specified the value of theXRAY_RECORDER_LOG_LEVEL
environment variable is used. - serviceVersion: - serviceVersion: A string that identifies the version of your application that served the request,
aws-xray-sdk-swift
by default.
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