diff --git a/content/en/serverless/aws_lambda/instrumentation/_index.md b/content/en/serverless/aws_lambda/instrumentation/_index.md index 4d27460fcf6..40a248e4b01 100644 --- a/content/en/serverless/aws_lambda/instrumentation/_index.md +++ b/content/en/serverless/aws_lambda/instrumentation/_index.md @@ -29,9 +29,9 @@ The quick start process configures your Lambda functions on the fly. To instrume ## Instrumentation instructions -For Node.js and Python runtimes, you can use [remote instrumentation][5] to add instrumentation to your AWS Lambda functions and keep them instrumented securely. See [Remote instrumentation for AWS Lambda][5]. +You can use [remote instrumentation][5] to add instrumentation to your AWS Lambda functions and keep them instrumented securely. See [Remote instrumentation for AWS Lambda][5]. -For other Lambda runtimes (or to instrument your Node.js or Python functions without remote instrumentation) see detailed instrumentation instructions: +To instrument your functions without remote instrumentation, see detailed instrumentation instructions: {{< partial name="serverless/getting-started-languages.html" >}} @@ -54,4 +54,4 @@ After you're done with instrumentation and you've set up telemetry collection, y [4]: /serverless/aws_lambda/fips-compliance/ [5]: /serverless/aws_lambda/remote_instrumentation [6]: https://github.com/DataDog/serverless-sample-app -[8]: https://app.datadoghq.com/fleet/install-agent/latest?platform=lambda \ No newline at end of file +[8]: https://app.datadoghq.com/fleet/install-agent/latest?platform=lambda diff --git a/content/en/serverless/aws_lambda/instrumentation/dotnet.md b/content/en/serverless/aws_lambda/instrumentation/dotnet.md index 3cefab9036d..c19be00b788 100644 --- a/content/en/serverless/aws_lambda/instrumentation/dotnet.md +++ b/content/en/serverless/aws_lambda/instrumentation/dotnet.md @@ -22,6 +22,15 @@ further_reading: If your application is deployed as a container image, use the _Container Image_ method. {{< tabs >}} +{{% tab "Datadog UI" %}} +You can instrument your .NET AWS Lambda application directly within Datadog. Navigate to the [Serverless > AWS Lambda][2] page and select [**Instrument Functions**][3]. + +For more information, see [Remote instrumentation for AWS Lambda][1]. + +[1]: /serverless/aws_lambda/remote_instrumentation +[2]: https://app.datadoghq.com/functions?cloud=aws +[3]: https://app.datadoghq.com/serverless/aws/lambda/setup +{{% /tab %}} {{% tab "Datadog CLI" %}} The Datadog CLI modifies existing Lambda functions' configurations to enable instrumentation without requiring a new deployment. It is the quickest way to get started with Datadog's serverless monitoring. diff --git a/content/en/serverless/aws_lambda/instrumentation/go.md b/content/en/serverless/aws_lambda/instrumentation/go.md index d473eb259b2..6efd7182fef 100644 --- a/content/en/serverless/aws_lambda/instrumentation/go.md +++ b/content/en/serverless/aws_lambda/instrumentation/go.md @@ -27,6 +27,15 @@ If your application is deployed as a container image, use the _Container Image_ **Note**: Datadog recommends that you use Go tracer v1.73.1 for instrumenting AWS Lambda functions. Go tracer v2 is not supported. {{< tabs >}} +{{% tab "Datadog UI" %}} +You can instrument your Go AWS Lambda application directly within Datadog. Navigate to the [Serverless > AWS Lambda][2] page and select [**Instrument Functions**][3]. + +For more information, see [Remote instrumentation for AWS Lambda][1]. + +[1]: /serverless/aws_lambda/remote_instrumentation +[2]: https://app.datadoghq.com/functions?cloud=aws +[3]: https://app.datadoghq.com/serverless/aws/lambda/setup +{{% /tab %}} {{% tab "Serverless Framework" %}} The [Datadog Serverless Plugin][1] automatically configures your functions to send metrics, traces, and logs to Datadog through the [Datadog Lambda Extension][2]. @@ -204,7 +213,7 @@ Replace `` with a valid AWS region, such as `us-east-1`. ### Install the Datadog Lambda library ``` -go get github.com/DataDog/dd-trace-go/contrib/aws/datadog-lambda-go/v2 +go get github.com/DataDog/dd-trace-go/contrib/aws/datadog-lambda-go/v2 ``` ### Update your Lambda function code diff --git a/content/en/serverless/aws_lambda/instrumentation/java.md b/content/en/serverless/aws_lambda/instrumentation/java.md index ff19b05e5c7..7fa60cd8f54 100644 --- a/content/en/serverless/aws_lambda/instrumentation/java.md +++ b/content/en/serverless/aws_lambda/instrumentation/java.md @@ -29,6 +29,15 @@ If you are using the Datadog Lambda layers `dd-trace-java:4` (or older) and `Dat If your application is deployed as a container image, use the _Container Image_ method. {{< tabs >}} +{{% tab "Datadog UI" %}} +You can instrument your Java AWS Lambda application directly within Datadog. Navigate to the [Serverless > AWS Lambda][2] page and select [**Instrument Functions**][3]. + +For more information, see [Remote instrumentation for AWS Lambda][1]. + +[1]: /serverless/aws_lambda/remote_instrumentation +[2]: https://app.datadoghq.com/functions?cloud=aws +[3]: https://app.datadoghq.com/serverless/aws/lambda/setup +{{% /tab %}} {{% tab "Datadog CLI" %}} The Datadog CLI modifies existing Lambda functions' configurations to enable instrumentation without requiring a new deployment. It is the quickest way to get started with Datadog's serverless monitoring. @@ -332,4 +341,4 @@ module "lambda-datadog" { [11]: /security/application_security/serverless/ [12]: https://github.com/DataDog/datadog-lambda-extension [13]: https://github.com/DataDog/datadog-lambda-extension/issues -[14]: /serverless/aws_lambda/configuration?tab=datadogcli#collect-the-request-and-response-payloads \ No newline at end of file +[14]: /serverless/aws_lambda/configuration?tab=datadogcli#collect-the-request-and-response-payloads diff --git a/content/en/serverless/aws_lambda/instrumentation/ruby.md b/content/en/serverless/aws_lambda/instrumentation/ruby.md index 298a687d46e..f92eaf961b0 100644 --- a/content/en/serverless/aws_lambda/instrumentation/ruby.md +++ b/content/en/serverless/aws_lambda/instrumentation/ruby.md @@ -28,6 +28,15 @@ aliases: If your application is deployed as a container image, use the _Container Image_ method. {{< tabs >}} +{{% tab "Datadog UI" %}} +You can instrument your Ruby AWS Lambda application directly within Datadog. Navigate to the [Serverless > AWS Lambda][2] page and select [**Instrument Functions**][3]. + +For more information, see [Remote instrumentation for AWS Lambda][1]. + +[1]: /serverless/aws_lambda/remote_instrumentation +[2]: https://app.datadoghq.com/functions?cloud=aws +[3]: https://app.datadoghq.com/serverless/aws/lambda/setup +{{% /tab %}} {{% tab "Datadog CLI" %}} The Datadog CLI modifies existing Lambda functions' configurations to enable instrumentation without requiring a new deployment. It is the quickest way to get started with Datadog's serverless monitoring. @@ -410,4 +419,4 @@ For more information on custom metric submission, see [Serverless Custom Metrics [8]: /tracing/custom_instrumentation/ruby/ [9]: /security/application_security/serverless/ [10]: https://github.com/DataDog/datadog-lambda-extension -[11]: https://github.com/DataDog/datadog-lambda-extension/issues \ No newline at end of file +[11]: https://github.com/DataDog/datadog-lambda-extension/issues diff --git a/content/en/serverless/aws_lambda/remote_instrumentation.md b/content/en/serverless/aws_lambda/remote_instrumentation.md index ffa8d71c33a..c03684884ba 100644 --- a/content/en/serverless/aws_lambda/remote_instrumentation.md +++ b/content/en/serverless/aws_lambda/remote_instrumentation.md @@ -4,8 +4,6 @@ title: Remote instrumentation for AWS Lambda {{< img src="serverless/lambda/svl_lambda_remote.png" alt="AWS Remote Instrumentation page in Datadog, showing a 'Scope functions to instrument using tags' box and functions available for remote instrumentation." style="width:100%;" >}} -_Supported runtimes_: Node.js, Python - You can use remote instrumentation to quickly add instrumentation to your AWS Lambda functions and keep them instrumented securely. The _instrumenter_ is a Lambda function that ensures your target functions have the Datadog Lambda extension and Datadog Lambda library added. The instrumenter also ensures that your functions remain instrumented and can send telemetry to Datadog. @@ -39,11 +37,11 @@ The instrumenter must be deployed to every region and account where you want to The CloudFormation stack deploys the instrumenter function, **datadog-remote-instrumenter**, into your account and region. The stack also creates a CloudTrail and some adjacent resources. 1. After the instrumenter function is deployed, select functions to instrument. You can select functions by function name, tags, or combinations of tags. See the [Selecting functions](#selecting-functions) section for more details. - + After you finish your selections, click **Next**. -1. Confirm your function selections. - +1. Confirm your function selections. + You can also set layer versions and toggle logging and tracing. These settings are used for all future instrumentation and remain fixed until you manually update them. Updates can take a few minutes to be applied. After you set your configuration, the instrumenter automatically instruments any functions that newly satisfy your configured targeting rules. The instrumenter also keeps your functions instrumented. If Datadog layers or environment variables on a matching function are modified outside of remote instrumentation, the instrumenter automatically re-instruments your function. @@ -75,12 +73,12 @@ Datadog recommends that you only instrument Lambda functions with a memory size ## Verification -After the remote instrumenter Lambda has applied instrumentation to your functions, the status column displays an **Instrumented** status. You can also confirm your functions are instrumented by opening your AWS Console and ensuring that two layers (Datadog Lambda extension and `datadog-lambda-python` or `datadog-lambda-js`) have been added to each selected function. +After the remote instrumenter Lambda has applied instrumentation to your functions, the status column displays an **Instrumented** status. You can also confirm your functions are instrumented by opening your AWS Console and ensuring that two layers (Datadog Lambda extension and a Datadog tracing layer) have been added to each selected function. ## Upgrading to a new version 1. Find [datadog-remote-instrument][5] (if you didn't rename it) CloudFormation stack. -2. Find the current version of the stack template in the **Template** tab. +2. Find the current version of the stack template in the **Template** tab. ```yaml Mappings: Constants: @@ -88,7 +86,7 @@ After the remote instrumenter Lambda has applied instrumentation to your functio Version: ``` Note down the value of the template version, such as `1.10.0`, in case you run into issues with the new version and need to roll back. -3. Update the stack using template URL `https://datadog-cloudformation-template.s3.amazonaws.com/aws/remote-instrument/latest.yaml`. You can also replace `latest` with a specific version, such as `1.10.0`, if needed. Check the [releases page][6] for new features and fixes. Make sure to review the changesets before applying the update. +3. Update the stack using template URL `https://datadog-cloudformation-template.s3.amazonaws.com/aws/remote-instrument/latest.yaml`. You can also replace `latest` with a specific version, such as `1.10.0`, if needed. Check the [releases page][6] for new features and fixes. Make sure to review the changesets before applying the update. ## Removing instrumentation @@ -109,4 +107,4 @@ If you see issues related to IAM roles, ensure that you have permission to creat [3]: https://app.datadoghq.com/functions?cloud=aws [4]: /agent/remote_config/?tab=configurationyamlfile#setup [5]: https://console.aws.amazon.com/cloudformation/home#/stacks?filteringText=datadog-remote-instrument -[6]: https://github.com/DataDog/serverless-remote-instrumentation/releases \ No newline at end of file +[6]: https://github.com/DataDog/serverless-remote-instrumentation/releases