You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running the current mdatagen against receivers in collector-contrib directly breaks tests due to removal of the collector/filter import in
What did you expect to see?
tests continue to pass
What did you see instead?
tests fail
What version did you use?
otel-collector-contrib@HEAD
mdatagen 0.119.0, reverting to 0.118.0 has the same issue, 0.117.0 worked as expected
What config did you use?
metadata file in elasticsearch receiver otel collector contrib
Environment
Ubuntu 20.04
Additional context
Contrib collector is still building, and those filter imports are still there, so wholly possible my setup is broken somehow - but at a basic level I don't see how removing the filter import from the template and relying on it later in the file is correct.
The text was updated successfully, but these errors were encountered:
Also, that same PR that introduced generating scrapers doesn't correctly do so since it includes consumertest which is unused, it's likely automatically removed when run make gofmt.
When running make mdatagen-test, you can see this issue
Describe the bug
Running the current mdatagen against receivers in collector-contrib directly breaks tests due to removal of the collector/filter import in
https://github.com/open-telemetry/opentelemetry-collector/pull/12092/files#diff-27825b678880d103cd17473d56b87f9fe90fe62f67eae7180bb85186e8742e32L19
Steps to reproduce
Here's an example for elasticsearch but seems to happen on other receivers as well.
What did you expect to see?
tests continue to pass
What did you see instead?
tests fail
What version did you use?
otel-collector-contrib@HEAD
mdatagen 0.119.0, reverting to 0.118.0 has the same issue, 0.117.0 worked as expected
What config did you use?
metadata file in elasticsearch receiver otel collector contrib
Environment
Ubuntu 20.04
Additional context
Contrib collector is still building, and those filter imports are still there, so wholly possible my setup is broken somehow - but at a basic level I don't see how removing the filter import from the template and relying on it later in the file is correct.
The text was updated successfully, but these errors were encountered: