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
From my point of view, if we do not intend to use plugin alone (without PluginLoader) we should let PluginLoader pass the config and make the param mandatory (like Opencensus).
If we make it optional, each plugin will must initialize the config with dummy object...
The text was updated successfully, but these errors were encountered:
Hello,
I would like your feedback on this topic, because I don't have a strong opinion on it. I'm referring to https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-types/src/trace/instrumentation/Plugin.ts#L32
comparing to Opencensus
It's different.
From my point of view, if we do not intend to use plugin alone (without PluginLoader) we should let
PluginLoader
pass the config and make the param mandatory (like Opencensus).If we make it optional, each plugin will must initialize the config with dummy object...
The text was updated successfully, but these errors were encountered: