OpenTelemetry Lambda Java changelog
Changes to the Coralogix Java Lambda layer and the shared Lambda Telemetry Exporter. Each entry identifies the Java layer version and, when applicable, the shared exporter version it ships with.
Updated the OpenTelemetry Java agent and SDK libraries from 2.28.0 to
2.31.1.
Updated the Java SDK libraries to
2.28.0:aws-lambda-eventsandaws-sdk.Added trigger support for DynamoDB, Cognito, EventBridge, SNS, Kinesis, and Step Functions.
- Inspected and patched SDK libraries for FIPS environments.
Updated libraries used by the shared Lambda Telemetry Exporter.
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.
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 Java instrumentation packages to 1.33.6.
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.