Released 2024-Nov-23
- Add detection of Lambda cold start and set
faas.coldstart
Activity 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.Json
at6.0.10
for thenetstandard2.0
target and at8.0.5
for thenet8.0
target. (#2203)
Released 2024-Jan-26
- BREAKING:
ILambdaContext context
argument of all tracing methods ofOpenTelemetry.Instrumentation.AWSLambda.AWSLambdaWrapper
was 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.0
instead 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:
AddAWSLambdaConfigurations
no longer removes all existing resource attributes -
BREAKING: Change dependency from
OpenTelemetry.Contrib.Extensions.AWSXRay
toOpenTelemetry.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
AddAWSLambdaConfigurations
method with default configure parameter. (#943) - BREAKING (behavior):
AddAWSLambdaConfigurations
no 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 theActivitySource
name (superseding #534). - Pre-release version numbering scheme changed from
.betaN
tobeta.N
(#639) - BREAKING (API): Move public class
AWSLambdaWrapper
out ofImplementation
subnamespace (#593) - BREAKING (API): Rename overloads of
AWSLambdaWrapper.Trace
that 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
/TraceAsync
overloads withoutILambdaContext
parameter. - 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.DisableAwsXRayContextExtraction
initialization 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