Repository navigation
Default combined config: receive OTLP logs, drop duplicate and START/END lines - #25
Merged
Merged
Conversation
…END lines Since #24 the Node.js wrapper sends console output as OTLP logs (with trace and span IDs) by default, but config.combined.yaml only received logs from the Telemetry API, so the SDK's log exports failed and console lines arrived without trace IDs. Add an OTLP logs pipeline and drop the Telemetry API copy of lines written inside an invocation plus Lambda's per-invocation START/END lines, matching config.gateway.yaml. config_test.go now covers config.combined.yaml. Claude-Session: https://claude.ai/code/session_01QdKvbfTtH9eMeMyYNq5Nht
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
8naama
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Since #24, the Node.js wrapper defaults
OTEL_LOGS_EXPORTER=otlp: console output during an invocation is sent as OTLP logs with trace and span IDs. The default collector config (config.combined.yaml) only had a Telemetry API logs pipeline, so in direct mode (no gateway):What
logspipeline: OTLP receiver → Logz.io logs exporter (console logs with trace IDs).logs/telemetryapipipeline: Telemetry API receiver →filter/invocation-output→ Logz.io logs exporter. The filter drops the Telemetry API copy of lines written inside an invocation (they arrive over OTLP) and Lambda's per-invocation START/END lines. Platform records and output written outside an invocation (init, crashes) are kept. Same rules asconfig.gateway.yaml, which is already running on our testbed.config_test.gonow also loads and validatesconfig.combined.yamlwith this collector's components.Release
After merge, publish the Node.js combined layer with tag
combined-layer-nodejs/v1.1.0(includes #24).https://claude.ai/code/session_01QdKvbfTtH9eMeMyYNq5Nht