-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Move OpenTelemetry API to top level go.opentelemetry.io/otel package #964
Labels
area:metrics
Part of OpenTelemetry Metrics
area:trace
Part of OpenTelemetry tracing
pkg:API
Related to an API package
Milestone
Comments
MrAlias
added
pkg:API
Related to an API package
area:metrics
Part of OpenTelemetry Metrics
area:trace
Part of OpenTelemetry tracing
release:required-for-ga
labels
Jul 24, 2020
May relate to #940 to separate API package from SDK packages to minimize dependency set for using OTel API only. |
Investigation of how we want to position the |
This should resolve #448 |
This was referenced Sep 2, 2020
This was referenced Sep 16, 2020
Merged
This was referenced Sep 25, 2020
This was referenced Oct 11, 2020
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:metrics
Part of OpenTelemetry Metrics
area:trace
Part of OpenTelemetry tracing
pkg:API
Related to an API package
In a recent review of the project, one of the things identified that we can do to ease discoverability instrumentation structures and ease adoption of the project for new users is to move relevant instrumentation structures and interfaces in the top level package.
This means taking tracing and metric APIs and moving them to the
go.opentelemetry.io/otel
package. Namely:go.opentelemetry.io/otel/api/trace
Provider
TraceProvider
Span
Tracer
go.opentelemetry.io/otel/api/metric
BatchObserver
BatchObserverCallback
BoundFloat64Counter
BoundFloat64UpDownCounter
BoundFloat64ValueRecorder
BoundInt64Counter
BoundInt64UpDownCounter
BoundInt64ValueRecorder
Float64Counter
Float64ObserverCallback
Float64ObserverResult
Float64SumObserver
Float64UpDownCounter
Float64UpDownSumObserver
Float64ValueObserver
Float64ValueRecorder
Int64Counter
Int64ObserverCallback
Int64ObserverResult
Int64SumObserver
Int64UpDownCounter
Int64UpDownSumObserver
Int64ValueObserver
Int64ValueRecorder
Meter
Observation
Provider
MeterProvider
This is not a comprehensive list. There are likely other elements of the API that need to be moved or re-engineered in the move.
The text was updated successfully, but these errors were encountered: