binarycat-dremio opened a new pull request, #4570: URL: https://github.com/apache/arrow-adbc/pull/4570
## Summary Promotes allowlisted `adbc.flight.sql.rpc.call_header.*` metadata into FlightSQL OpenTelemetry span attributes. This adds tracing support for safe correlation headers on: - `FlightSQLDatabase.Open` - `FlightSQLStatement.Prepare` - `FlightSQLStatement.ExecuteQuery` - `FlightSQLStatement.ExecuteUpdate` Headers are exposed as attributes like `rpc.call_header.x-request-id`. ## Why FlightSQL already sends caller-supplied `rpc.call_header.*` values on outbound RPCs, but those values were not visible in tracing spans. Surfacing the allowlisted correlation headers makes it easier to connect ADBC client spans with upstream request IDs and external traces. ## Validation - `env GOCACHE=/private/tmp/arrow-adbc-go-build-cache go test ./driver/flightsql -run 'Test(TraceHeaderAttrsWithPrefix|OutgoingCallHeaderAttrs|HeaderAttrsWithPrefix|LoggedStream_LogsIncomingHeadersOnSuccess|OtelTraceHandler|SafeLogger|WithOtelTraceContext|GrpcStatusAttrs)'` Closes #4568. -- 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]
