-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chore: move traces builder query attributes enrichment before query prep #5917
Conversation
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍(Review updated until commit ecb8c26)
|
@makeavish the linked issue won't be solved by this yet. The keys are still loaded every time for query range request. This refactor streamlines things so that alerts and query range perform attribute enrichment upfront. |
The follow up built on top of this #5925 |
Persistent review updated to latest commit ecb8c26 |
1 similar comment
Persistent review updated to latest commit ecb8c26 |
@makeavish please review |
Summary
Currently, the attribute erichment is happening at the time of query preparation. This means we should pass keys all the way down which makes the whole call require passing keys. This commit removes it from params and enriches the attribute prior like we do for logs.