Expand description
OpenTelemetry instrumentation layer for AWS Lambda functions.
This code is based on the AWS Lambda Rust Runtime’s OpenTelemetry layer: https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-runtime/src/layers/otel.rs
The main enhancement is the addition of OpenTelemetry span kind support, which is currently pending upstream review in PR #946: https://github.com/awslabs/aws-lambda-rust-runtime/pull/946
Once the PR is merged, this implementation can be deprecated in favor of the upstream version.
Licensed under the Apache License, Version 2.0
Structs§
- Open
Telemetry Future - Future created by OpenTelemetryService.
- Open
Telemetry Layer - Tower layer to add OpenTelemetry tracing to a Lambda function invocation. The layer accepts a function to flush OpenTelemetry after the end of the invocation.
- Open
Telemetry Service - Tower service created by OpenTelemetryLayer.
Enums§
- Open
Telemetry Faas Trigger - Represent the possible values for the OpenTelemetry
faas.triggerattribute. See https://opentelemetry.io/docs/specs/semconv/attributes-registry/faas/ for more details.