SpiceDB supports a custom request-id header clients can use to trace requests. It's convenient, for example, when troubleshooting certain requests using zed permission check --request-id <my-request-id>.
Unfortunately request-id wasn't being properly propagated to:
pgx driver logs for Postgres-based SpiceDB
dispatched requests
These issues are fixed in this PR, making it possible to filter all the log entries of a request by a custom request-id, included those that are part emitted as part of SpiceDB's dispatch mechanism.
SpiceDB supports a custom
request-id
header clients can use to trace requests. It's convenient, for example, when troubleshooting certain requests usingzed permission check --request-id <my-request-id>
.Unfortunately
request-id
wasn't being properly propagated to:pgx
driver logs for Postgres-based SpiceDBThese issues are fixed in this PR, making it possible to filter all the log entries of a request by a custom
request-id
, included those that are part emitted as part of SpiceDB's dispatch mechanism.