Update OpenTelemetry Dependencies to main #3767
Annotations
4 errors
Build Collector:
internal/receiver/lightprometheusreceiver/factory.go#L46
cannot use component.MustNewType(typeStr) (value of type component.Type) as scraperhelper.ScrapeFunc value in argument to scraperhelper.NewScraper
|
Build Collector:
internal/receiver/lightprometheusreceiver/factory.go#L46
cannot use s.scrape (value of type func(context.Context) (pmetric.Metrics, error)) as scraperhelper.ScraperOption value in argument to scraperhelper.NewScraper: func(context.Context) (pmetric.Metrics, error) does not implement scraperhelper.ScraperOption (missing method apply)
|
Build Collector:
internal/receiver/lightprometheusreceiver/factory.go#L55
not enough arguments in call to scraperhelper.AddScraper
|
Build Collector
Process completed with exit code 2.
|
Loading