public static interface TracingConfig.Builder extends CopyableBuilder<TracingConfig.Builder,TracingConfig>
Modifier and Type | Method and Description |
---|---|
TracingConfig.Builder |
mode(String mode)
Can be either PassThrough or Active.
|
TracingConfig.Builder |
mode(TracingMode mode)
Can be either PassThrough or Active.
|
copy
applyMutation, build
TracingConfig.Builder mode(String mode)
Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
mode
- Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an
upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any
tracing header it receives from an upstream service. If no tracing header is received, Lambda will
call X-Ray for a tracing decision.TracingMode
,
TracingMode
TracingConfig.Builder mode(TracingMode mode)
Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
mode
- Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an
upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any
tracing header it receives from an upstream service. If no tracing header is received, Lambda will
call X-Ray for a tracing decision.TracingMode
,
TracingMode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.