Monitor AWS Lambda

For information about differences between classic services and other services, see Migrate from AWS classic (formerly "built-in") services to cloud services.

AWS Lambda lets you run code without provisioning or managing servers. This deployment model is sometimes referred to as "serverless" or "Function as a Service" (FaaS).

  • A Lambda function runs in an application on a container managed by AWS. This lets you focus on writing code without worrying about the underlying application or infrastructure.
  • Lambda functions are ephemeral. This means that the underlying container can be suspended or recycled when there’s no request pending.
  • Lambda functions can process only one request at a time. When there are n concurrent requests, n containers are created. All of this is completely transparent to the developer.

Integrations

Trace Python, Node.js, and Java Lambda functions

Trace .NET Lambda functions AWS Lambda log collection

Monitor AWS Lambda (built-in) for metrics, properties and tags from AWS

Advanced monitoring

OpenTelemetry interoperability

AWS Lambda logs in context of traces

Monitoring Consumption

For AWS Lambda, monitoring consumption is based on Davis data units. See Serverless monitoring for details.

Support lifecycle

Dynatrace support for Lambda is aligned with the AWS Lambda runtimes lifecycle, which consists of two Deprecation Phases. To learn more about the Dynatrace support level for each runtime, see the table below. Once a runtime reaches Deprecation Phase 2, Dynatrace will no longer provide technical support due to the technical limitations that are in effect for functions on such runtimes.

If you have Lambda functions on a runtime that is entering any Deprecation Phase, we recommend that you prepare to migrate to a supported runtime as soon as possible.

AWS Lambda runtime
Dynatrace support until
Dynatrace support level
Notes
dotnetcore3.1
2023-05-03
Not supported
Deprecation Phase 2 since 2023-05-03
dotnet6
Supported
dotnet7
Supported1
dotnet8
Supported
java8.al2
Supported
java11
Supported
java17
Supported
OneAgent version 1.267+
java21
Supported
OneAgent version 1.291+
nodejs10.x
2022-02-14
Not supported
Deprecation Phase 2 since 2022-02-14
nodejs12.x
2023-04-30
Not supported
Deprecation Phase 2 since 2023-04-30
nodejs14.x
2024-02-08
Not supported
Function create and update blocked since 2024-02-08
nodejs16.x
Supported
OneAgent version 1.251+
nodejs18.x
Supported
OneAgent version 1.257+
nodejs20.x
Supported
OneAgent version 1.283+
python3.8
Supported
python3.9
Supported
OneAgent version 1.229+
python3.10
Supported
OneAgent version 1.267+
python3.11
Supported
OneAgent version 1.275+
python3.12
Supported
OneAgent version 1.287+
1

Only .NET 7 functions deployed as container images are supported. AWS has not released a managed runtime for .NET 7.