-
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
Mark the OpenTracing compatibility section as stable #2147
Comments
@yurishkuro Please review, as I've update this with a few issues that appeared lately. |
We have completed all the important tasks, and I'd only wait for #2298 and #2297 as final improvements before we mark this section stable (we could work on the porting guides/documentation after the release). Opinions @bhs @yurishkuro @tedsuo ? |
Mega-apologies for the delay on this. I'm fine marking this as stable, particularly given that OT is now officially archived. |
sgtm |
I've been thinking a bit about this PR to implement Tracer.close() in the java OpenTracing shim. The OpenTracing shim spec says:
Why does the shim operate on the API instead of SDK? Couple reasons it might make sense to instead depend on the SDK:
|
Hey @jack-berg
I think this is improper wording for the Specification - i.e. we wanted to prevent users from using telemetry-specific functionality in the SDKs, i.e. allow the Shim to specifically configure sampling in the reference Java implementation, or configure So overall there are way more reasons for the OpenCensus to use the SDK, as OpenCensus itself extensively exposes sampling, resources and other very similar implementation details compared to OTel. So there are a pair of reasons why I would also prefer to keep it the current way:
cc @yurishkuro |
@carlosalberto +1 not depending on SDK. But you'd probably still want some language in the spec about Close for the OT languages that supported it. I think for Java it's trivial by checking against an interface, would the same approach be used for C++? Another alternative is to simply say Close() is not supported by the bridge. I don't recall the reasons why it was allowed in OT, I always felt like it belongs to implementations since someone needs to instantiate them explicitly. And for the auto-instantiation via service registry, the Close could've been a part of that mechanism, not of the Tracer. I am rather interested who would complain about in the first place - do you have any signal of how many people are relying on the shims? My experience with the Go shim was ... mixed. |
This issue will serve to track the remaining work to mark the OpenTracing compatibility as stable:
tracer name
should be used when creating the Shimnull
value is passed to ScopeManager.activate() (see ScopeManagerShim.activate(span) throws IllegalArgumentException when null is passed in opentelemetry-java#3952)ScopeManager
(Document the level of support exist for OpenTracing JS #2219)SpanContext
(Support Bagagge-only propagation in the OpenTracing Shim. #2326)The plan has been updated to mark the Spec as stable in very early Q1, and have the first compliant implementations ready by Q1 a well (Python and Java for a start).
@bhs @yurishkuro @tedsuo Please review in case anything else needs to be added.
The text was updated successfully, but these errors were encountered: