Module extractors

Module extractors 

Source
Expand description

Event-specific trace context extractors.

This module provides extractors for common Lambda event types. Each extractor is feature-gated:

  • http - API Gateway HTTP API (v2) and REST API (v1)
  • sqs - SQS message events
  • sns - SNS notification events
  • lambda-http - Integration with the lambda_http crate

Enable features via Cargo.toml:

[dependencies]
opentelemetry-lambda-tower = { version = "0.1", features = ["http", "sqs"] }

Modulesยง

http
HTTP event extractors for API Gateway.
lambda_http
Extractor for lambda_http crate integration.
sns
SNS event extractor for notification triggers.
sqs
SQS event extractor for message queue triggers.