-
Notifications
You must be signed in to change notification settings - Fork 890
feat: use v2 API for agent metadata updates #12281
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @spikecurtis and the rest of your teammates on |
case mr := <-metadataResults: | ||
// This can overwrite unsent values, but that's fine because | ||
// we're only interested about up-to-date values. | ||
updatedMetadata[mr.key] = mr.result | ||
continue | ||
case err := <-reportError: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: I moved this up to the main select so that if there is an error, we won't wait around until the next tick to exit.
359baae
to
ce4323c
Compare
ce4323c
to
ab6a2a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits but otherwise LGTM!
ab6a2a5
to
e06b9b7
Compare
Merge activity
|
Switches the agent to report metadata over the v2 API.
Fixes #10534