Skip to content

Introduce OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN#3410

Merged
joaopgrassi merged 1 commit intoopen-telemetry:mainfrom
trask:semconv-exception-signal-opt-in
Feb 12, 2026
Merged

Introduce OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN#3410
joaopgrassi merged 1 commit intoopen-telemetry:mainfrom
trask:semconv-exception-signal-opt-in

Conversation

@trask
Copy link
Copy Markdown
Member

@trask trask commented Feb 8, 2026

Fixes #3363

Introduces environment variable OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN, defined as

Existing instrumentations that record exceptions as span events:

  • SHOULD introduce an environment variable OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN supporting the following values:
    • logs - emit exceptions as logs only.
    • logs/dup - emit both span events and logs, allowing for a phased rollout.
    • The default behavior (in the absence of one of these values) is to continue emitting exceptions as span events (existing behavior).
  • SHOULD maintain (security patching at a minimum) their existing major version for at least six months after it starts emitting both sets of conventions.
  • MAY drop the environment variable in their next major version and emit exceptions as logs only.

Prototype at open-telemetry/opentelemetry-java-instrumentation#16049

@github-actions github-actions Bot added the enhancement New feature or request label Feb 8, 2026
@trask trask changed the title Introduce OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN Introduce OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN Feb 8, 2026
@trask trask marked this pull request as ready for review February 8, 2026 22:03
@trask trask requested review from a team as code owners February 8, 2026 22:03
@lmolkova lmolkova moved this from Untriaged to Needs More Approval in Semantic Conventions Triage Feb 9, 2026
@trask trask moved this from Needs More Approval to Ready to be Merged in Semantic Conventions Triage Feb 9, 2026
@github-project-automation github-project-automation Bot moved this from Ready to be Merged to Needs More Approval in Semantic Conventions Triage Feb 12, 2026
@joaopgrassi joaopgrassi added this pull request to the merge queue Feb 12, 2026
Merged via the queue into open-telemetry:main with commit 41eae1d Feb 12, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Introduce OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN

4 participants