OpenTelemetry Lambda Node.js changelog
Changes to the Coralogix Node.js Lambda layer and the shared Lambda Telemetry Exporter. Each entry identifies the Node.js layer version and, when applicable, the shared exporter version it ships with.
Updated upstream OpenTelemetry instrumentation libraries, including AWS SDK (
0.77.0), HTTP and gRPC (0.222.0), MongoDB (0.75.0), PostgreSQL (0.74.0), and the Express, GraphQL, Redis, and SQL instrumentations.- Dropped Node.js 20 support and added Node.js 26 support.
Updated upstream OpenTelemetry instrumentation libraries, including AWS
SDK (0.75.0), HTTP and gRPC (0.216.0), MongoDB (0.73.0), and
PostgreSQL (0.68.0).
Updated upstream OpenTelemetry instrumentation libraries, including AWS SDK (
0.75.0), HTTP and gRPC (0.216.0), MongoDB (0.73.0), and PostgreSQL (0.68.0).- Added SNS and Kinesis trigger support.
- Inspected and patched SDK libraries for FIPS environments.
Updated upstream OpenTelemetry instrumentation libraries, including AWS SDK (
0.64.0), HTTP and gRPC (0.57.2), MongoDB (0.61.0), and PostgreSQL (0.51.1).- Added Node.js 24 support.
Updated libraries used by the shared Lambda Telemetry Exporter and optimized layer size.
Updated upstream OpenTelemetry instrumentation libraries, including AWS SDK (
0.49.1), HTTP and gRPC (0.57.2), MongoDB (0.52.0), and PostgreSQL (0.51.1).- Added Step Functions support.
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 SNS 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.
Updated core instrumentation to
1.30.5and Lambda instrumentation to0.50.3.- Cold starts are reported in
faas.coldstart.
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.