-
Notifications
You must be signed in to change notification settings - Fork 479
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
feat(exporter/otelcol): support converting vcenterreceiver
#6714
feat(exporter/otelcol): support converting vcenterreceiver
#6714
Conversation
Signed-off-by: hainenber <dotronghai96@gmail.com>
vcenterreceiver
vcenterreceiver
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.
Thanks for the PR 😄 . Looks solid and I've left a couple comments to finalize this. Let me know if you'd like me to work them, no pressure.
Endpoint: cfg.Endpoint, | ||
Username: cfg.Username, | ||
Password: rivertypes.Secret(cfg.Password), | ||
|
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.
It looks like we are missing the conversion of MetricsBuilderConfig
here.
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.
I've added the converter but it looks like the defaults for agent's vcenter
doesn't seem to be in sync with upstream, hence the full-blown River converted result.
These blocks with enabled = true
should be omitted, right? Just wanna make sure that I understand the concept of upstream syncing
correctly here
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.
Good catch - I researched it and it made sense to commit the change I tested. The way nested structs were being handled in the component led to this weird behavior and it should be all set now. There is a slight divergence in defaults but it is not so bad anymore.
internal/converter/internal/otelcolconvert/converter_vcenterreceiver.go
Outdated
Show resolved
Hide resolved
…bute + use helper for converting TLS setting Signed-off-by: hainenber <dotronghai96@gmail.com>
175f964
to
007998d
Compare
Signed-off-by: erikbaranowski <39704712+erikbaranowski@users.noreply.github.com>
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.
Thank you!
I disabled automerge so this doesn't cause conflict with a bug fix we are working on. Once that is shipped I can merge it into this PR and get this merged. |
PR Description
Which issue(s) this PR fixes
Close #6459
Notes to the Reviewer
PR Checklist