Quickstart

This walkthrough follows the setup process described in Datadog's remote instrumentation documentation.

1
Open Remote Instrumentation in Datadog

In the Datadog app, navigate to Serverless settings and select the Remote Instrumentation section.

2
Choose an API key and AWS region

In the CloudFormation modal, pick the Datadog API key and the AWS region you want to deploy the instrumenter into.

3
Deploy the CloudFormation stack

Datadog generates a CloudFormation template pre-filled with your choices — deploying it creates the datadog-remote-instrumenter Lambda function, its S3 state bucket, the CloudTrail trail, and the EventBridge rules described in How It Works.

4
Select which functions to instrument

Choose functions by exact name, by AWS resource tags, or by tag combination using AND, OR, and ! (negation) operators. See Function Targeting for the exact matching rules.

5
Confirm and configure

Confirm your selections, then set the Datadog layer versions, and toggle logging and tracing settings for the functions you're targeting.

Verify it worked#

Once the instrumenter has run, instrumented functions show an Instrumented status in Datadog. In the AWS Console, open one of the targeted functions and confirm two Datadog layers now appear on it.

Removing it#

Deleting the CloudFormation stack automatically un-instruments every function it had touched across the region — see the stack-delete behavior in How It Works.

Next
See every deployable option

The Quickstart uses Datadog's guided CloudFormation modal. If you're scripting the deployment, the full parameter list is in the Configuration Reference.

Updated

Was this page helpful?