-
Notifications
You must be signed in to change notification settings - Fork 95
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 end-user logging and tracing for drivers #2210
Comments
I'd also be curious if you have ideas about how to bridge OpenTelemetry across runtimes; presumably C#/Python would like to be able to start a span that will properly be the parent span of anything the Go driver does. Possibly we can even do this mostly automatically inside the Go bridge code |
The easiest way to bridge OpenTelemetry across the runtimes would be to pass metadata containing the headers to identify the context/span. Since they would be key/value pairs. I've done it with C++/Go before, perhaps through options on the connection/statement |
Yeah - we would need some manual code (possibly, we can do this automatically in the Python driver manager too when OpenTelemetry is installed) and would just extract/inject the context across the FFI boundary. |
If there's a better way though... |
I've added this to the list of goals for the POC. |
What feature or improvement would you like to see?
I'd like to suggest the following plan based on the use of OpenTelemetry
Create a proof-of-concept
Enable output to
Determine if
The text was updated successfully, but these errors were encountered: