Skip to content

Conversation

@spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Feb 23, 2024

Switches the agent to report metadata over the v2 API.

Fixes #10534

Copy link
Contributor Author

spikecurtis commented Feb 23, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spikecurtis and the rest of your teammates on Graphite Graphite

// we're only interested about up-to-date values.
updatedMetadata[mr.key] = mr.result
continue
case err := <-reportError:
Copy link
Contributor Author

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.

Base automatically changed from spike/10534-lifecycle-update to main February 23, 2024 11:24
Copy link
Member

@mafredri mafredri left a 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!

@spikecurtis spikecurtis merged commit b0afffb into main Feb 26, 2024
@spikecurtis spikecurtis deleted the spike/10534-metadata branch February 26, 2024 05:50
Copy link
Contributor Author

Merge activity

@github-actions github-actions bot locked and limited conversation to collaborators Feb 26, 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.

Implement Agent API support in Agent

3 participants