opentelemetry-js
opentelemetry-js copied to clipboard
Review SDK exports to ensure concrete classes are not used in interfaces
I guess such problems are not limited to
SpanProcessor. Any exported class may result in similar problems. see the recent issue for contrib instrumentations.I guess to fully avoid this it's needed to remove classes from all exports.
It is very possible. We can't remove those exports now unfortunately, but we can remove them from the interfaces we export. I'll create an issue to do a more thorough review.
Originally posted by @dyladan in https://github.com/open-telemetry/opentelemetry-js/issues/2931#issuecomment-1111140307
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
not stale
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue was closed because it has been stale for 14 days with no activity.