Module sqs

Module sqs 

Source
Expand description

SQS event extractor for message queue triggers.

Extracts trace context from SQS messages, checking:

  1. message_attributes for W3C traceparent (injected by OTel-instrumented producers)
  2. attributes (system attributes) for AWSTraceHeader in X-Ray format

Supports both SqsEvent (string bodies) and SqsEventObj<T> (typed bodies).

Structs§

SqsEventExtractor
Extractor for SQS message events.

Functions§

parse_xray_trace_header
Parses an X-Ray trace header into a SpanContext.