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

initial wiring agent integration for integration-next #5638

Merged
merged 5 commits into from
Nov 1, 2023

Conversation

erikbaranowski
Copy link
Contributor

@erikbaranowski erikbaranowski commented Oct 27, 2023

PR Description

This PR wires up the first integration for static converter integrations-next. It implements all the underlying shared code necessary to wire up additional integrations.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@erikbaranowski erikbaranowski marked this pull request as ready for review October 30, 2023 18:00
@erikbaranowski erikbaranowski requested a review from a team as a code owner October 30, 2023 18:00
Signed-off-by: erikbaranowski <[email protected]>

switch itg := integration.(type) {
case *agent_exporter_v2.Config:
exports = b.appendAgentExporter(itg)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This feels off and maybe a comment/naming would fix it. In a lot of places v2 is used but this looks wrong especially with the appendExporterV2 a few lines below. Looking into the func it pivots but feels like friction here.

Copy link
Collaborator

@mattdurham mattdurham left a comment

Choose a reason for hiding this comment

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

LGTM

@erikbaranowski erikbaranowski merged commit 33fbfc4 into main Nov 1, 2023
10 checks passed
@erikbaranowski erikbaranowski deleted the converter-static-v2 branch November 1, 2023 14:01
hainenber pushed a commit to hainenber/agent that referenced this pull request Nov 1, 2023
* initial wiring agent integration for integration-next

Signed-off-by: erikbaranowski <[email protected]>

---------

Signed-off-by: erikbaranowski <[email protected]>
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants