You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When investigating incidents in an application for correlating RDBMS logs with OpenTelemetry tracing, it would be convenient to have information about the database session in the trace. In the case of PostgreSQL this is the backend PID.
Describe the solution you'd like
I expect a db.session field in io.opentelemetry.instrumentation.jdbc.internal.DbRequest that is populated from the database connection
Describe alternatives you've considered
No response
Additional context
For PostgreSQL it is possible to get PID form Connection object without any additional network request with