OpenTelemetry Lambda .NET
July 14, 2025 ยท View on GitHub
NuGet package for running .NET applications on AWS Lambda with OpenTelemetry.
Provided SDK
OpenTelemetry Lambda SDK for .NET includes tracing APIs to instrument Lambda handlers and is provided on NuGet. Follow the instructions in the user guide to manually instrument the Lambda handler. For other instrumentations, such as HTTP, you'll need to include the corresponding library instrumentation from the instrumentation project and modify your code to initialize it in your function.
Provided Layer
OpenTelemetry Lambda Layer for Collector includes OpenTelemetry Collector for Lambda components. Follow the user guide to apply this layer to your Lambda handler that's already been instrumented with the OpenTelemetry Lambda .NET SDK to enable end-to-end tracing.
Sample application
The sample application shows the manual instrumentations of OpenTelemetry Lambda .NET SDK on a Lambda handler that triggers a downstream request to AWS S3.