You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "binarycat-dremio (via GitHub)" <gi...@apache.org> on 2026/07/22 10:22:31 UTC

[PR] Promote safe call headers into FlightSQL spans [arrow-adbc]

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

   ## 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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Promote safe call headers into FlightSQL spans [arrow-adbc]

Posted by "binarycat-dremio (via GitHub)" <gi...@apache.org>.
binarycat-dremio closed pull request #4569: Promote safe call headers into FlightSQL spans
URL: https://github.com/apache/arrow-adbc/pull/4569


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org