diff --git a/src/OpenTelemetry.Instrumentation.AWSLambda/AWSLambdaInstrumentationOptions.cs b/src/OpenTelemetry.Instrumentation.AWSLambda/AWSLambdaInstrumentationOptions.cs index 72f8e83476..8930b25a49 100644 --- a/src/OpenTelemetry.Instrumentation.AWSLambda/AWSLambdaInstrumentationOptions.cs +++ b/src/OpenTelemetry.Instrumentation.AWSLambda/AWSLambdaInstrumentationOptions.cs @@ -27,8 +27,11 @@ public class AWSLambdaInstrumentationOptions public bool DisableAwsXRayContextExtraction { get; set; } /// - /// Gets or sets a value indicating whether the parent Activity should be set when SQS message batch is received. - /// If option is set to true then the parent is set using the last received message otherwise the parent is not set at all. + /// Gets or sets a value indicating whether the parent Activity should be set when a potentially batched event is received where multiple parents are potentially available (e.g. SQS). + /// If set to true, the parent is set using the last received record (e.g. last message). Otherwise the parent is not set. In both cases, links will be created for such events. /// - public bool SetParentFromMessageBatch { get; set; } + /// + /// Currently, the only event type to which this applies is SQS. + /// + public bool SetParentFromBatch { get; set; } }