Install Serverless Monitoring for AWS Lambda
Quick start
If you are new to Datadog, sign up for a Datadog account, then follow the Datadog Agent installation instructions for AWS Lambda to instrument your Lambda function for a quick start with Datadog. Completing the steps configures your Lambda functions to send real-time metrics, logs, and traces to Datadog.
A sample application is
available on GitHub with instructions on how to deploy with multiple runtimes and infrastructure as code tools.
The quick start process configures your Lambda functions on the fly. To instrument Lambda functions permanently, see the detailed installation instructions in the next section.
Installation instructions
For Node.js and Python runtimes, you can use remote instrumentation to add instrumentation to your AWS Lambda functions and keep them instrumented securely. See Remote instrumentation for AWS Lambda.
For other Lambda runtimes (or to instrument your Node.js or Python functions without remote instrumentation) see detailed installation instructions:
FIPS Compliance Support
Datadog provides FIPS-compliant monitoring for AWS Lambda functions through dedicated FIPS-compliant Lambda extension layers and runtime-specific configurations. The FIPS-compliant components implement FIPS-certified cryptography and work with any Datadog site, but end-to-end FIPS compliance requires using the US1-FED site. If you need to maintain FIPS compliance while monitoring your Lambda functions, see the AWS Lambda FIPS Compliance documentation page for details.
Advanced Configurations
After you’re done with installation and you’ve set up telemetry collection, you can use advanced configurations to:
- connect your metrics, traces, and logs using tags
- collect telemetry from AWS resources such as API Gateway, AppSync, and Step Functions
- capture the request and response payloads for individual Lambda invocations
- link errors of your Lambda functions to your source code
- filter or scrub sensitive information from logs or traces
Further Reading
Additional helpful documentation, links, and articles: