-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fixes EIMP lint errors as per the latest OTel version #38
Conversation
@lahsivjar : If this processor is used with components on version lesser than v0.105.0. |
@ishleenk17 I might be mistaken here but is this an issue for us? Don't we have full control over which version of the component we will package in our distro? |
BTW, if the |
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
I don't think so because the I have just modified the sample manifest of this branch with versions lower than v0.105.0 for the other components and compilation works accordingly: otelcol_version: 0.105.0
extensions:
connectors:
converters:
receivers:
- gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.101.0
processors:
- gomod: github.com/elastic/opentelemetry-collector-components/processor/elasticinframetricsprocessor v0.0.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0 |
If you keep the otelcol_version as > v0.103.0 then you won't have failures but if you use anything below that it should fail I think (since before that version the I will wait for this discussion to conclude before merging. Alternatively, we can merge #40 which would fix the test but not the lint. |
Going back to this, why would we ever publish your distro with older version of the components? I thought we had full control over the versions we would ship with the distro - if this is true then I don't see any issues with maintaining backward compatibilities. @ishleenk17 I saw that you approved the PR, does the above resolve the backward compatibility concern? |
Yes, considering that we will always have the latest otelcol version for our Distro, I have approved this. |
Fixes the lint failures as a result of update to
v0.105.0
. Most of the code is auto-generated other than the following changes:CreateSettings
->Settings
.I also noticed that lints are not run as part of the GH checks, this is what caused the lint error to go unnoticed. I will create a followup for this.This is not correct, not sure why the errors were not reported with the dependabot PR.