You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Add Lambda Managed Instance mode documentation
https://datadoghq.atlassian.net/browse/SVLS-8083
## Overview
Add comprehensive documentation for Lambda Managed Instance support
(v90+):
- Overview of Managed Instance mode and how it differs from standard
Lambda
- Automatic detection and optimization behavior
- Background continuous flushing architecture with zero per-invocation
overhead
- Key differences comparison table (invocation model, flushing, use
cases)
- Getting started guide for users
Also clarifies that custom continuous flush intervals are respected in
Managed Instance mode (not completely ignored as previously stated).
## Testing
n/a
Copy file name to clipboardExpand all lines: README.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,46 @@ APM Tracing is supported for Python, NodeJS, Go, Java, and .NET runtimes.
29
29
30
30
We'd love to hear your feedback on the next-generation Lambda Extension. You can open a GitHub issue here using the `version/next` tag, find us on the [Datadog Community Slack](https://chat.datadoghq.com/) in the #serverless channel, or reach out to me directly at [email protected].
31
31
32
+
## Lambda Managed Instance Support
33
+
34
+
The Datadog Lambda Extension (v90+) now supports **AWS Lambda Managed Instances**, a deployment mode where Lambda functions run on EC2 instances managed by AWS with multi-concurrent invocation handling. This is ideal for steady-state, high-volume workloads where optimizing costs with predictable capacity is desired.
35
+
36
+
### What is Lambda Managed Instance Mode?
37
+
38
+
Lambda Managed Instances run your functions on EC2 instances (managed by AWS) where one execution environment can handle multiple invocations simultaneously, unlike traditional Lambda's one-invocation-per-environment model. This requires setting up a **capacity provider** - a configuration that defines VPC settings, instance requirements, and scaling parameters.
39
+
40
+
Learn more:
41
+
-[Introducing AWS Lambda Managed Instances: Serverless simplicity with EC2 flexibility](https://aws.amazon.com/blogs/aws/introducing-aws-lambda-managed-instances-serverless-simplicity-with-ec2-flexibility/)
The Datadog Extension automatically detects when running in Managed Instance mode (via the `AWS_LAMBDA_INITIALIZATION_TYPE` environment variable) and optimizes its behavior:
47
+
48
+
-**Background Flushing**: A dedicated background task continuously flushes observability data at regular intervals (default: 30 seconds), completely independent of invocation processing
49
+
-**Zero Per-Invocation Overhead**: All flush operations are non-blocking and run concurrently with your function invocations
50
+
-**Optimized Event Handling**: The extension processes telemetry events directly from the Lambda Telemetry API without blocking on invocation lifecycle calls
51
+
-**Enhanced Monitoring**: Generates managed-instance-specific metrics and statistics
|**Use Case**| Steady-state, high-volume workloads | General serverless workloads |
62
+
63
+
### Getting Started
64
+
65
+
1. Set up your Lambda function with a [capacity provider](https://docs.aws.amazon.com/lambda/latest/dg/lambda-managed-instances.html)
66
+
2. Install the Datadog Lambda Extension (v90+) as usual
67
+
3. The extension will automatically detect Managed Instance mode and optimize its behavior
68
+
4. Monitor your telemetry in Datadog as normal
69
+
70
+
No additional configuration is required - the extension handles everything automatically when it detects the Managed Instance environment.
71
+
32
72
## Upgrading
33
73
34
74
To upgrade, update the Datadog Extension version in your Lambda layer configurations or Dockerfile (for Lambda functions deployed as container images). View the latest [releases](https://github.com/DataDog/datadog-lambda-extension/releases) and corresponding changelogs before upgrading.
Copy file name to clipboardExpand all lines: bottlecap/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Step 3: Test your change running `./runBottlecap.sh`
24
24
Bottlecap supports several flush strategies that control when and how observability data (metrics, logs, traces) is sent to Datadog. The strategy is configured via the `DD_SERVERLESS_FLUSH_STRATEGY` environment variable.
25
25
26
26
**Important**: Flush strategies behave differently depending on the Lambda execution mode:
27
-
-**Managed Instance**: Uses continuous background flushing (flush strategies are ignored)
0 commit comments