-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Start Span section to the OT Shim. #2228
Conversation
Hey @yurishkuro - updated the text to mention that:
Let me know whether this aligns with what you have in mind. (Semantic convention generation is not working for whatever reason, will figure that out) |
Co-authored-by: Yuri Shkuro <[email protected]>
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
keep |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
I take it this refers to the context that is taken for the parent? Sounds like the shim StartSpan() could be extended to select the OTel SpanKind but we probably won't. 👍 |
@jmacd Actually that's an outdated part of the description (fixed now), as now we keep the reference type as a
I think that, as the semantics are not strictly equivalent, we would have to spend some cycles to define this. Let me know if you think it's important to consider this. |
I do not! 😀 |
* Add a Start Span section to the OT Shim. * Fix link. * Another link fix. * Revisit references information. * Update specification/compatibility/opentracing.md Co-authored-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]> Co-authored-by: Joshua MacDonald <[email protected]>
Addresses an item in #2147
For some reason I had lost this section, so adding it again. Namely, the important information is:
Span
references, use the first one as parent, and all of them asLink
s (this is what the OT Shims do). The reference type is added as aopentracing.ref_type
attribute on theLink
itself.Span References
section, to clarify that the OTChildOf
andFollowsFrom
reference types must not be confused with OTelLink
s.Span
creation MUST be set before theSpan
is actually created, in case they are passed to some internal API, e.g. the Sampling API. See this Java issue.Please review @jmacd @yurishkuro