-
Notifications
You must be signed in to change notification settings - Fork 893
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
Inconsitency of the API #1362
Comments
We just recently migrated the majority of instrumentations to these new tracers. Their API is a complete mess right now. We will certainly review it. |
In general it's a great idea that works fine. I have some POC of extending the client & server tracers. I'm just wondering if it won't make more sense to extract the critical methods to an interface or make the methods public so that the library implementors can be sure that backward compatibility will be maintained. |
Yes, that's the plan. Hopefully, soon :) |
this is being redesigned in #2596 |
Closing, implementation of new Instrumenter API is being tracked in #2713 |
io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
haveonRequest
andonResponse
whereasio.opentelemetry.instrumentation.api.tracer.HttpServerTracer
has onlyonRequest
method?also in
HttpServerTracer
onRequest
oronRequestAndConnection
returnsvoid
whereas inHttpClientTracer
returnsSpan
.The text was updated successfully, but these errors were encountered: