You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lambda::Types::TracingConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TracingConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  mode: "Active", # accepts Active, PassThrough
}

The parent object that contains your function's tracing settings.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#modeString

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.

Possible values:

  • Active
  • PassThrough

Returns:

  • (String)

    Can be either PassThrough or Active.