feat(personhog): add caller tag to property-defs-rs#60367
Merged
Conversation
Set x-caller-tag: property-defs/group-type-resolution on gRPC requests so the router can attribute group type resolution traffic to this service's specific code path.
This was referenced May 27, 2026
Contributor
|
Reviews (1): Last reviewed commit: "feat(personhog): add caller tag to prope..." | Re-trigger Greptile |
eli-r-ph
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
We need per-caller attribution on personhog gRPC requests to identify which code paths are generating heavy traffic. The
x-caller-tagheader (consumed by the router in PR #60361) provides this, but each client service needs to send it.Changes
Adds
x-caller-tag: property-defs/group-type-resolutionmetadata header to the gRPC request in the property-defs-rs group type resolver. This is a single-line addition alongside the existingx-client-nameheader.Deploy target: property-defs-rs
How did you test this code?
x-client-nameheader on the adjacent linePublish to changelog?
No
Docs update
N/A
🤖 Agent context
Cherry-picked from
nick/personhog-query-taggingdevelopment branch. Part of a 4-PR series addingx-caller-tagattribution across the personhog stack: