OpenTelemetry Lambda Python changelog
Changes to the Coralogix Python Lambda layer and the shared Lambda Telemetry Exporter. Each entry identifies the Python layer version and, when applicable, the shared exporter version it ships with.
Updated libraries used by the shared Lambda Telemetry Exporter.
Updated upstream OpenTelemetry Python instrumentation to
0.63.0, including the AWS SDK, ASGI, Django, FastAPI, Flask, gRPC, Redis, SQLAlchemy, and database instrumentations.- Inspected and patched SDK libraries for FIPS environments.
Fixed an unhandled exception when PutObject is called with a non-ASCII
payload.
Added combined telemetry export, which sends logs, traces, and metrics in one request when
CX_COMBINED_TELEMETRY_ENABLED=true.- Retries are now limited to eligible telemetry delivery errors.
- Fixed broken SQS trigger span links.
Added resource-attribute and
cx_metadatacontrols, includingCX_LOGS_METADATA_INCLUDE_TRACE_REF,CX_LOGS_METADATA_INCLUDE_EXECUTION,CX_LOGS_METADATA_INCLUDE_INVOCATION_ID,CX_*RESOURCE_BUILT_IN_ATTRIBUTES, andCX_*RESOURCE_EXTRA_ATTRIBUTES.Added platform-log trimming controls:
CX_PLATFORM_LOGS_INCLUDE_REQUEST_IDandCX_PLATFORM_LOGS_HIDE_DEFAULT_VALUES.Supports splitting telemetry delivery between an OpenTelemetry URL and Firehose.
Added Python 3.13 support and updated instrumentation packages to
0.52.0b.
Made Firehose delivery errors more verbose.
Ensured OTLP server sockets open before the extension registers with AWS.
Added CX_PLATFORM_LOGS to selectively disable platform event logs.
Fixed the arm64
GLIBCissue and processing of spans received afterruntime_done.HTTP/2 is assumed when telemetry is sent to Coralogix or
CX_OTEL_URL; re-enable ALPN withCX_OTEL_APLN_ENABLED=twhen required.- Added the
ap-southeast-5AWS Region.
- Added OOM detection for
Runtime.OutOfMemoryerrors. Added
CX_OTEL_LOGS_URL,CX_OTEL_TRACES_URL, andCX_OTEL_METRICS_URLto route individual telemetry signals independently.
Added early trigger and invocation spans for timeouts and function crashes.
Added telemetry metric reduction; set
CX_OTEL_METRICS_MODE=directto disable it.Fixed OOM detection when memory use exceeds the configured limit.
Fixed consumer spans not being recognized as the main function span.
Added CX_SERVICE_NAME to customize the default service name.
Fixed CX_TRACING_MODE=disabled and CX_TRACING_MODE=telemetry_api
forwarding OpenTelemetry traces. Only CX_TRACING_MODE=otel forwards
them.
Fixed truncation of logs containing multi-byte UTF-8 characters.
Renamed
CX_PRIVATE_KEYtoCX_API_KEY; the previous name remains supported.- Fixed an incorrect missing-span warning.
- Added AWS Secrets Manager API key retrieval with
CX_SECRET. Redesigned telemetry delivery to improve shutdown and timeout reliability.
Added
CX_EXCLUDED_SPAN_ATTRIBUTESto filter sensitive span attributes.Wrapper-and-exporter layers automatically select OpenTelemetry tracing mode when instrumentation is present.
- Improved high-volume delivery and shutdown behavior.
Added out_of_memory to report logs, improved diagnostics, and propagated
telemetry.sdk.language.
Added experimental Firehose delivery and controls to selectively disable logs, traces, or metrics.
Improved failure handling, startup performance, OTLP support, debug logs, initialization-span creation, and telemetry reporting during fatal failures.