Repository navigation
Document per-signal opt-in for OTLP layerFromConfig - #10269
Merged
Merged
Conversation
Guard that an endpoint alone installs no exporters, and emit a span in the OTEL_TRACES_EXPORTER=none flush test so it covers traces.
State that each signal needs an endpoint and OTEL_<SIGNAL>_EXPORTER=otlp, that the exporter variables have no default unlike the OpenTelemetry SDK spec, and show the variables needed to export all signals.
Bare assignments create shell variables that the application process does not inherit, so copying the block left every signal disabled.
|
tim-smart
enabled auto-merge (squash)
November 1, 2026 22:55
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
tim-smart
pushed a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
tim-smart
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 7, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 7, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 7, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 8, 2026
tim-smart
pushed a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 18, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 18, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 20, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 20, 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.
Otlp.layerFromConfigand theOtlpTracer,OtlpLoggerandOtlpMetricslayerFromConfiglayers export a signal only when an endpoint is set andOTEL_<SIGNAL>_EXPORTERincludesotlp. This is deliberately stricter than the OpenTelemetry SDK spec, which defaults the exporter variables tootlp: a shared endpoint alone should not start exporting signals that were never enabled. Runtime behaviour is unchanged. The fix for #10231 is to document the rule.Otlp.layerFromConfigalso shows the variables that enable all three signals.OtlpConfig.test.tschecks that setting only the endpoint installs no exporters.OTEL_TRACES_EXPORTER=noneflush test inOtlpExporter.test.tsnow emits a span, so it covers traces as well as logs and metrics.There is no changeset because this changes only docs and tests. This replaces #10232.
Closes #10231
Closes EFF-3233