Skip to content

Add AWS X-Ray Lambda Propagation Logic #1462

Open
@jj22ee

Description

@jj22ee

xray-lambda propagation functionality is described in: https://opentelemetry.io/docs/specs/semconv/faas/aws-lambda/#xray-lambda-propagator-functionality

The existing OTel Ruby AWS Lambda Instrumentation currently cannot extract the trace context contained in Lambda's _X_AMZN_TRACE_ID Environment Variable. This is needed to link the AWS Lambda Span to the Traces generated by Lambda Service.

The xray-lambda propagation logic exists in some other OTel languages, but have different implementation locations:

  • xray-lambda logic is in aws_lambda (Golang, .NET)
  • xray-lambda logic is in its own package (Node.js)
  • xray-lambda logic is part of AWS XRay Propagator (Java, Python)

I think it should be okay to follow the third case, where the xray-lambda propagator is part of the xray propagator package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions