Skip to content

Commit

Permalink
draft for serverless
Browse files Browse the repository at this point in the history
  • Loading branch information
cbehera-newrelic committed Dec 23, 2024
1 parent 67a5fc3 commit 81fbc1d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,10 @@ Select your runtime below and follow the setup instructions.
To instrument your .NET Lambda:

1. Add the [NewRelic.Agent nuget package](https://www.nuget.org/packages/NewRelic.Agent) to your AWS Lambda project. For more information, see our [installation guide](/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget/).
2. Add the [required environment variables](/docs/serverless-function-monitoring/aws-lambda-monitoring/instrument-lambda-function/env-variables-lambda) to your project. `NEW_RELIC_LICENSE_KEY` isn't required since the agent won't attempt to contact or send data directly to New Relic.
2. To enable [distributed tracing](/docs/apm/distributed-tracing/getting-started/introduction-distributed-tracing) and configure environmental variables, refer [environment variables](/docs/serverless-function-monitoring/aws-lambda-monitoring/instrument-lambda-function/env-variables-lambda) documentation.
3. Publish the project to your AWS Lambda account.
4. [Configure](/docs/serverless-function-monitoring/aws-lambda-monitoring/enable-lambda-monitoring/account-linking/) either the New Relic Lambda Extension or the `newrelic-log-ingestion` lambda.
5. To enable [distributed tracing](/docs/apm/distributed-tracing/getting-started/introduction-distributed-tracing) and configure environmental variables, refer [environment variables](/docs/serverless-function-monitoring/aws-lambda-monitoring/instrument-lambda-function/env-variables-lambda) documentation.
6. Invoke the Lambda at least once to check for errors and ensure the data is visible in the New Relic UI.
5. Invoke the Lambda at least once to check for errors and ensure the data is visible in the New Relic UI.
</Collapser>
</CollapserGroup>

Expand Down

0 comments on commit 81fbc1d

Please sign in to comment.