Skip to content

Conversation

@jmacd
Copy link
Contributor

@jmacd jmacd commented Jul 25, 2024

Changes

Updates Trace SDK and Propagator specifications with

  • List W3C propagator requirements (e.g., should propagate tracestate)
  • Introduce W3C Trace Context Level 2 w/ the Random flag
  • Define explicit randomness feature from OTEP 235, OTEP 261
  • Trace SDK default ID generator should include 56 bits of randomness in the correct location
  • Trace SDK for root spans: either set the random flag to confirm the above, or use an explicit randomness value.

Part of #1413.
Part of #3602.

Product of the Sampling SIG members @kentquirk @kalyanaj @oertl @PeterF778 @yuanyuanzhao3 and myself.

@jmacd jmacd changed the title Draft rules for span context in Trace Context level 2 Randomness requirements for W3C Trace Context level 2 Jul 26, 2024
@jmacd jmacd changed the title Randomness requirements for W3C Trace Context level 2 Randomness requirements following W3C Trace Context level 2 Jul 26, 2024
@jmacd jmacd force-pushed the jmacd/sampling_new branch from fa9ec4c to 71750cd Compare July 29, 2024 23:22
@jmacd jmacd marked this pull request as ready for review July 29, 2024 23:24
@jmacd jmacd requested review from a team July 29, 2024 23:24
Copy link
Member

@marcalff marcalff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See nit comment about text formatting, for diff

Copy link
Member

@marcalff marcalff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@github-actions
Copy link

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Aug 15, 2024
@jmacd jmacd removed the Stale label Aug 15, 2024
@jmacd jmacd reopened this Feb 4, 2025
@jmacd jmacd marked this pull request as ready for review February 4, 2025 00:55
@jmacd jmacd mentioned this pull request Feb 4, 2025
Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I don't see anything contentious in this PR. I'd probably prefer having a bit more context on the example shown in the PR, but that's not strictly necessary.

Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jmacd
Copy link
Contributor Author

jmacd commented Feb 13, 2025

@open-telemetry/specs-trace-approvers I believe this is ready to merge.

@reyang reyang merged commit 8155988 into open-telemetry:main Feb 13, 2025
5 of 6 checks passed
@carlosalberto carlosalberto mentioned this pull request Feb 14, 2025
carlosalberto added a commit that referenced this pull request Feb 18, 2025
February 2025 Release.

### Traces

- Deprecate `exception.escaped` attribute, add link to in-development
semantic-conventions
  on how to record errors across signals.

([#4368](#4368))
- Define randomness value requirements for W3C Trace Context Level 2.

([#4162](#4162))

### Logs

- Define how SDK implements `Logger.Enabled`.

([#4381](#4381))
- Logs API should have functionality for reusing Standard Attributes.

([#4373](#4373))

### SDK Configuration

- Define syntax for escaping declarative configuration environment
variable
  references.

([#4375](#4375))
- Resolve various declarative config TODOs.

([#4394](#4394))
cijothomas pushed a commit to cijothomas/opentelemetry-specification that referenced this pull request Feb 19, 2025
February 2025 Release.

- Deprecate `exception.escaped` attribute, add link to in-development
semantic-conventions
  on how to record errors across signals.

([open-telemetry#4368](open-telemetry#4368))
- Define randomness value requirements for W3C Trace Context Level 2.

([open-telemetry#4162](open-telemetry#4162))

- Define how SDK implements `Logger.Enabled`.

([open-telemetry#4381](open-telemetry#4381))
- Logs API should have functionality for reusing Standard Attributes.

([open-telemetry#4373](open-telemetry#4373))

- Define syntax for escaping declarative configuration environment
variable
  references.

([open-telemetry#4375](open-telemetry#4375))
- Resolve various declarative config TODOs.

([open-telemetry#4394](open-telemetry#4394))
cijothomas pushed a commit to cijothomas/opentelemetry-specification that referenced this pull request Feb 19, 2025
February 2025 Release.

- Deprecate `exception.escaped` attribute, add link to in-development
semantic-conventions
  on how to record errors across signals.

([open-telemetry#4368](open-telemetry#4368))
- Define randomness value requirements for W3C Trace Context Level 2.

([open-telemetry#4162](open-telemetry#4162))

- Define how SDK implements `Logger.Enabled`.

([open-telemetry#4381](open-telemetry#4381))
- Logs API should have functionality for reusing Standard Attributes.

([open-telemetry#4373](open-telemetry#4373))

- Define syntax for escaping declarative configuration environment
variable
  references.

([open-telemetry#4375](open-telemetry#4375))
- Resolve various declarative config TODOs.

([open-telemetry#4394](open-telemetry#4394))
@jmacd jmacd moved this to In review in Sampling SIG Mar 28, 2025
@jmacd jmacd moved this from In review to Done in Sampling SIG Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.