This guide outlines detailed steps for setting up a test environment to evaluate both Lambda instrumentation (PR) and the Lambda layer (PR) for OpenTelemetry.
- Clone the repository using the
ruby-layer-wrapper
branch from this location. This branch contains the wrapper file absent in the original PR. - Navigate to
ruby/src/
and executesam build -u -t template.yml
. This action generates the.aws-sam
folder. Finally, run the script./zip_ruby_layer.sh -n <your_layer_name>
to create the zip file suitable for upload to AWS Lambda via the AWS console. - If using a different tracing platform, ensure its installation before creating the layers.
- The gems listed in
ruby/layer/Gemfile
a