-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate API from SDK #721
Comments
cc: @open-telemetry/javascript-approvers |
What if we rename |
I would be fine with that as well |
Just wanted to attach original package structure issue: #6. Edit: We considered |
Thanks. As a separate issue, I want to rename all the |
Co-authored-by: Daniel Dyla <[email protected]>
cc: @mayurkale22
Currently a library wishing to integrate OpenTelemetry JS has to import
core
in order to acquire a tracer from the global tracer registry.core
is a part of the SDK and contains many other SDK components.Proposal: Create a new package named
@opentelemetry/api
which exposes the public API.This new package would be the only thing library authors would depend on. It would export all types from the
types
package, as well as take over the global tracer utils responsibilities fromcore
. Its API surface consists only of the public API and nothing else. This means the functions to get and set the global tracer registry, and types.The text was updated successfully, but these errors were encountered: