open-telemetry / opentelemetry-java-contrib

https://opentelemetry.io
Apache License 2.0
144 stars 118 forks source link

Assume random trace ID and set th-field only for sampled spans #1278

Closed oertl closed 1 month ago

oertl commented 2 months ago

This PR reflects the latest agreements of the sampling SIG:

Description:

< Describe what is being changed or added. Ex. Bug fix - Describe the bug and how this fixes it. Ex. Feature addition - Describe what this provides and why. >

Existing Issue(s):

< Link any applicable issues. >

Testing:

< Describe what testing was performed and any tests were added. >

Documentation:

< Describe the documentation added. Please be sure to modify relevant existing documentation if needed. >

Outstanding items:

< Anything that these changes are intentionally missing that will be needed or can be helpful in the future. >