Released 2026-Jun-18
-
Update
System.Text.Jsonfornetstandard2.0to8.0.5. (#4154) -
Add instrumentation scope version and schema URL to traces. (#4063)
Released 2026-Apr-21
- Fix
faas.max_memoryoverflow for Lambda memory settings at or above 2048 MB. (#4125)
Released 2026-Jan-21
Released 2026-Jan-14
Released 2025-Dec-19
- Fix issue when using ADOT auto-instrumentation which includes a version of OpenTelemetry.Instrumentation.AWSLambda in the Lambda layer. In this scenario nothing is forcing the NuGet resolution to include the updated version of Amazon.Lambda.Core that has the reworked logic for determining the trace id. (#3629)
Released 2025-Nov-13
-
Add support for .NET 10.0. (#2822)
-
Update Amazon.Lambda.Core dependency from 2.2.0 to 2.8.0 which reworks the internal logic for determining the trace id created by AWS Lambda. (#3410)
-
Update .NET 10.0 NuGet package versions from
10.0.0-rc.2.25502.107to10.0.0. (#3403) -
Updated OpenTelemetry core component version(s) to
1.14.0. (#3403)
Released 2025-Oct-29
Released 2025-Sep-03
- Add
faas.instanceandfaas.max_memoryresource/span attributes. (#2928)
Released 2025-May-06
Released 2025-May-01
Released 2025-Mar-18
- Set initial capacity for AWS Semantic Convention Attribute Builder. (#2653)
Released 2025-Mar-05
Released 2025-Jan-29
Released 2025-Jan-15
- Trace instrumentation will not fail with an exception
if empty
LambdaContextinstance is passed. (#2457)
Released 2025-Jan-06
- BREAKING: Change default Semantic Convention to 1.28
- BREAKING: Remove option to use Legacy semantic conventions (the old default)
Released 2024-Dec-20
- Introduce
AWSClientInstrumentationOptions.SemanticConventionVersionwhich provides a mechanism for developers to opt-in to newer versions of the of the Open Telemetry Semantic Conventions. (#2367)
Released 2024-Dec-12
- Trace instrumentation will now call the Activity.SetStatus API instead of the deprecated OpenTelemetry API package extension when setting span status. For details see: Setting Status. (#2358)
Released 2024-Nov-23
- Add detection of Lambda cold start and set
faas.coldstartActivity tag. (#2037) - Add HTTP server span attributes for Application Loadbalancer triggers (#2033)
- Drop support for .NET 6 as this target is no longer supported and add .NET 8/.NET Standard 2.0 targets. (#2140)
- Add a direct reference to
System.Text.Jsonat6.0.10for thenetstandard2.0target and at8.0.5for thenet8.0target. (#2203)
Released 2024-Jan-26
- BREAKING:
ILambdaContext contextargument of all tracing methods ofOpenTelemetry.Instrumentation.AWSLambda.AWSLambdaWrapperwas annotated as non-nullable. - Enabled null state analysis for
OpenTelemetry.Instrumentation.AWSLambda. The interface will now contain attributes for null-state static analysis. If null state analysis is enabled in your depending project, you may encounter new warnings. (#1295) - BREAKING: Target
net6.0instead ofnetstandard2.0(#1545) - Add support for native AoT.
Amazon.Lambda.*NuGet package dependencies have been upgraded, see package dependencies for details. (#1544)
Released 2023-Aug-07
-
BREAKING:
AddAWSLambdaConfigurationsno longer removes all existing resource attributes -
BREAKING: Change dependency from
OpenTelemetry.Contrib.Extensions.AWSXRaytoOpenTelemetry.Extensions.AWS(#1289). This now requires at least OpenTelemetry 1.5.1. -
Add explicit dependency on Newtonsoft.Json, upgrading the minimum version.
This resolves a warning that some dependency analyzers may produce where this package would transitively depend on a vulnerable version of Newtonsoft.Json through Amazon.Lambda.APIGatewayEvents.
This also avoids a potential issue where the instrumentation would try to call a Newtonsoft.Json function when no other package nor the app itself depends on Newtonsoft.Json, since the transitive dependency would be ignored unless using application were compiled against a TargetFramework older than Core 3.1.
Released 2023-Jun-13
- Add HTTP server span attributes for API Gateway triggers (#626)
- Removes
AddAWSLambdaConfigurationsmethod with default configure parameter. (#943) - BREAKING (behavior):
AddAWSLambdaConfigurationsno longer callsAddService(#1080) - Added tracing of AWS Lambda handlers receiving SQS and SNS messages. (#1051)
Released 2022-Sep-14
This is the first release with the new package name OpenTelemetry.Instrumentation.AWSLambda.
- BREAKING (API, behavior): Rename package to
OpenTelemetry.Instrumentation.AWSLambda(remove.Contrib) (#593). This also affects theActivitySourcename (superseding #534). - Pre-release version numbering scheme changed from
.betaNtobeta.N(#639) - BREAKING (API): Move public class
AWSLambdaWrapperout ofImplementationsubnamespace (#593) - BREAKING (API): Rename overloads of
AWSLambdaWrapper.Tracethat take an async handler toTraceAsync, to emphasize that they (usually) need to be awaited. (#608) - Rewrite of parent context handling and related changes
(#408):
- BREAKING (API): Remove
AWSLambdaWrapper.Trace/TraceAsyncoverloads withoutILambdaContextparameter. - BREAKING (behavior): Add automatic parent extraction from HTTP triggers (API Gateway Proxy events), using the configured global textmap propagator.
- BREAKING (behavior): An activity is now also created if no parent context could be extracted (previously this package would only create activities if a valid parent span context could be extracted with X-Ray).
- Add optional parent context (
ActivityContext) toAWSLambdaWrapper.Trace/TraceAsync. - Add
AWSLambdaInstrumentationOptions.DisableAwsXRayContextExtractioninitialization option.
- BREAKING (API): Remove
- Add version to
ActivitySource(#593)
Released 2021-May-26
This is the first release for the OpenTelemetry.Contrib.Instrumentation.AWSLambda
project. The project targets v1.1.0-beta1 of the OpenTelemetry
SDK.
The AWSLambda library includes extension and tracing APIs to configure resource detector and generate incoming AWS Lambda OTel span. For more details, please refer to the README