Module resource

Module resource 

Source
Expand description

Lambda resource attribute detection.

This module provides an AWS Lambda resource detector that implements the OpenTelemetry SDK’s ResourceDetector trait. It detects Lambda runtime environment attributes and builds properly typed Resource objects.

The detector reads from standard Lambda environment variables and follows OpenTelemetry semantic conventions for cloud and FaaS attributes.

Modules§

semconv
Re-export semantic conventions for use by other modules.

Structs§

AwsLambdaDetector
AWS Lambda resource detector.
ExtensionDetector
Extension-specific resource detector.
ResourceBuilder
Builder for customising Lambda resource attributes.

Functions§

detect_resource
Detects Lambda environment and returns a configured Resource.
to_proto_resource
Converts an SDK Resource to the protobuf Resource type for OTLP export.