From 81fbc1d055f72d2e89b7489c1c55848d091e5254 Mon Sep 17 00:00:00 2001 From: cbehera-newrelic Date: Mon, 23 Dec 2024 16:46:19 +0530 Subject: [PATCH] draft for serverless --- .../instrument-lambda-function/sdk-based-instrumentation.mdx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/content/docs/serverless-function-monitoring/aws-lambda-monitoring/instrument-lambda-function/sdk-based-instrumentation.mdx b/src/content/docs/serverless-function-monitoring/aws-lambda-monitoring/instrument-lambda-function/sdk-based-instrumentation.mdx index d6b4faf9206..955a2f6fef7 100644 --- a/src/content/docs/serverless-function-monitoring/aws-lambda-monitoring/instrument-lambda-function/sdk-based-instrumentation.mdx +++ b/src/content/docs/serverless-function-monitoring/aws-lambda-monitoring/instrument-lambda-function/sdk-based-instrumentation.mdx @@ -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.