Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequestID utilities #176

Merged
merged 1 commit into from
Mar 20, 2024
Merged

RequestID utilities #176

merged 1 commit into from
Mar 20, 2024

Conversation

alecmerdler
Copy link
Contributor

Adds function to inject a request ID into the gRPC headers when making a request to SpiceDB. This will be used to enable the --request-id flag in the zed CLI.

Adds function to inject a request ID into the gRPC headers when
making a request to SpiceDB. This will be used to enable the
'--request-id' flag in the 'zed' CLI.
@alecmerdler alecmerdler self-assigned this Mar 20, 2024
@alecmerdler alecmerdler requested a review from a team as a code owner March 20, 2024 20:27
Copy link
Contributor

@ecordell ecordell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

// through SpiceDB for the lifetime of the request. This can be used to correlate logs
// and traces with a specific request.
//
// TODO(alecmerdler): This is duplicated in SpiceDB source; we should be importing it from here.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this seems like the wrong place for this TODO since it needs to change in a different project

@alecmerdler alecmerdler added this pull request to the merge queue Mar 20, 2024
Merged via the queue into main with commit 9622b72 Mar 20, 2024
10 checks passed
@alecmerdler alecmerdler deleted the requestid-header branch March 20, 2024 20:49
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants