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
In #11659Scraper.ID was deprecated in favor of AddScraperWithType. During the v0.114.0 release I found that this was an incompatible switch for the hostmetric receiver's factory tests.
The hostmetrics receiver is testing factory.CreateMetricsScraper which returns a scraperhelper.Scraper and is not calling scraperhelper.NewScraperControllerReceiver so scraperhelper.AddScraperWithType isn't an option. To move forward with the release I removed the test's use of Scraper.ID`.
Was this an intended outcome of the change? If so this issue can be closed.
Description
In #11659
Scraper.ID
was deprecated in favor ofAddScraperWithType
. During the v0.114.0 release I found that this was an incompatible switch for the hostmetric receiver's factory tests.The hostmetrics receiver is testing
factory.CreateMetricsScraper
which returns ascraperhelper.Scraper
and is not callingscraperhelper.NewScraperControllerReceiver
soscraperhelper.AddScraperWithType isn't an option. To move forward with the release I removed the test's use of
Scraper.ID`.Was this an intended outcome of the change? If so this issue can be closed.
Related: open-telemetry/opentelemetry-collector-contrib#36395 (comment)
The text was updated successfully, but these errors were encountered: