-
Notifications
You must be signed in to change notification settings - Fork 621
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 hook to set custom span name in requests instrumentation #149
Comments
Hi @lzchen, I would like to work on this. I have one question here. Should this span name call back function for |
@lonewolf3739 To address your question, yes, I think we can pass in anything that is relevant to the http call. |
Ok. |
The currently implemented requests |
@danielbraun89 |
Oh that is true, I misunderstood the question. I will create a fix for it. |
Similar to wsgi, accept a callback function in
RequestsInstrumentor().instrument
to be able to pass custom span name.The specs say "MAY" for this feature, but we should be consistent across our instrumentations.
Part of open-telemetry/opentelemetry-python#1297
The text was updated successfully, but these errors were encountered: