Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs NR-305269: Updated links of layer images and Added links for examples of containerized lambda functions. #19076

Merged
merged 3 commits into from
Oct 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Here's a guide to adding our pre-built layer to your code.
1. Select the layer compatible with your specific Lambda function's runtime and region:
* [Java](https://gallery.ecr.aws/newrelic-lambda-layers-for-docker/newrelic-lambda-layers-java)
* [Node.js](https://gallery.ecr.aws/newrelic-lambda-layers-for-docker/newrelic-lambda-layers-nodejs)
* [Python](https://gallery.ecr.aws/x6n7b2o2/newrelic-lambda-layers-python)
* [Ruby](https://gallery.ecr.aws/x6n7b2o2/newrelic-lambda-layers-ruby)
* [Python](https://gallery.ecr.aws/newrelic-lambda-layers-for-docker/newrelic-lambda-layers-python)
* [Ruby](https://gallery.ecr.aws/newrelic-lambda-layers-for-docker/newrelic-lambda-layers-ruby)
* [.NET](https://gallery.ecr.aws/newrelic-lambda-layers-for-docker/newrelic-lambda-layers-dotnet)
* [Extension-only](https://gallery.ecr.aws/newrelic-lambda-layers-for-docker/newrelic-lambda-layers-lambdaextension)
2. In your multi-stage Dockerfile, use New Relic's prebuilt image as an intermediate build stage. Then, copy New Relic's agent and extension from our prebuilt image into your final build stage.
Expand Down Expand Up @@ -85,6 +85,7 @@ Here's a guide to adding our pre-built layer to your code.
CMD [ "com.newrelic.java.HandlerWrapper::handleRequest" ]
# CMD [ "com.newrelic.java.HandlerWrapper::handleStreamsRequest" ]
```
Try out [working example](https://github.com/newrelic/newrelic-lambda-extension/tree/main/examples/sam/containerized-lambda/java-17-maven-sam-example) of a Java containerized Lambda function using SAM.
</TabsPageItem>

<TabsPageItem id="python">
Expand All @@ -103,6 +104,7 @@ Here's a guide to adding our pre-built layer to your code.
# CMD override to New Relic's handler wrapper
CMD [ "newrelic_lambda_wrapper.handler" ]
```
Try out [working example](https://github.com/newrelic/newrelic-lambda-extension/tree/main/examples/sam/containerized-lambda/python-sam-example) of a Python containerized Lambda function using SAM.
</TabsPageItem>

<TabsPageItem id="nodejs">
Expand All @@ -121,6 +123,7 @@ Here's a guide to adding our pre-built layer to your code.
# CMD override to New Relic's handler wrapper
CMD [ "newrelic-lambda-wrapper.handler" ]
```
Try out [working example](https://github.com/newrelic/newrelic-lambda-extension/tree/main/examples/sam/containerized-lambda/nodejs-sam-example) of a Node.js containerized Lambda function using SAM.
</TabsPageItem>

<TabsPageItem id="Ruby">
Expand Down
Loading