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
Note that scraper.go passes in id.String() to scraperhelper.NewScraper(...). However, NewScraper currently converts this string value to an ID of just the name component.NewID(component.MustNewType(name)),.
The net result of this is that the cannonical string for IDs with names (type + / + name) is treated as a (nameless, type-only) ID in ScraperHelper
This, combined with the new strict MustBlah methods, breaks discovery/observers, as the convention for observer/receiver_creator places `{end . We configure endpoints as part of the name, and such are disallowed by the new conventions.
Component(s)
receiver/oracledb
What happened?
Description
Note that
scraper.go
passes inid.String()
toscraperhelper.NewScraper(...)
. However,NewScraper
currently converts this string value to an ID of just the namecomponent.NewID(component.MustNewType(name)),
.The net result of this is that the cannonical string for IDs with names (
type
+/
+name
) is treated as a (nameless, type-only) ID inScraperHelper
This, combined with the new strict
Must
Blah methods, breaks discovery/observers, as the convention for observer/receiver_creator places `{end . We configure endpoints as part of the name, and such are disallowed by the new conventions.Steps to Reproduce
Expected Result
Actual Result
Collector version
v0.94
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
The text was updated successfully, but these errors were encountered: