-
Notifications
You must be signed in to change notification settings - Fork 487
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
Conversation
Signed-off-by: erikbaranowski <[email protected]>
Signed-off-by: erikbaranowski <[email protected]>
Signed-off-by: erikbaranowski <[email protected]>
Signed-off-by: erikbaranowski <[email protected]>
converter/internal/staticconvert/internal/build/agent_exporter.go
Outdated
Show resolved
Hide resolved
|
||
switch itg := integration.(type) { | ||
case *agent_exporter_v2.Config: | ||
exports = b.appendAgentExporter(itg) |
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.
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.
Signed-off-by: erikbaranowski <[email protected]>
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.
LGTM
* initial wiring agent integration for integration-next Signed-off-by: erikbaranowski <[email protected]> --------- Signed-off-by: erikbaranowski <[email protected]>
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