binarycat-dremio opened a new pull request, #4486:
URL: https://github.com/apache/arrow-adbc/pull/4486

   ## Summary
   This change wires OpenTelemetry tracing into the core Flight SQL execution 
path and ensures configured trace exporters are flushed when the database is 
closed.
   
   Before this change, the Flight SQL driver accepted tracing configuration but 
did not emit trace data for the main open/query path. The Flight SQL database 
close path also did not delegate to the shared database close implementation, 
so tracer shutdown and exporter flush did not run.
   
   ## Changes
   - add tracing spans for `FlightSQLDatabase.Open`
   - add tracing spans for `FlightSQLStatement.Prepare`
   - add tracing spans for `FlightSQLStatement.ExecuteQuery`
   - add tracing spans for `FlightSQLStatement.ExecuteUpdate`
   - call `DatabaseImplBase.Close()` from Flight SQL database close handling
   - add a regression test that verifies the `adbcfile` exporter produces trace 
output for the Flight SQL query path
   
   ## Validation
   - `go test ./driver/flightsql -run TestFlightSQLTracingProducesTraceFiles 
-count=1`
   - `go test ./driver/flightsql -count=1`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to