This is a release candidate for the v1.16.0/v0.39.0 release. That release is expected to include the v1
release of the OpenTelemetry Go metric API and will provide stability guarantees of that API. See our versioning policy for more information about these stability guarantees.
Added
- Support global
MeterProvider
ingo.opentelemetry.io/otel
. (#4039)- Use
Meter
for ametric.Meter
from the globalmetric.MeterProvider
. - Use
GetMeterProivder
for a globalmetric.MeterProvider
. - Use
SetMeterProivder
to set the globalmetric.MeterProvider
.
- Use
Changed
- Move the
go.opentelemetry.io/otel/metric
module to thestable-v1
module set. This stages the metric API to be released as a stable module. (#4038)
Removed
- The
go.opentelemetry.io/otel/metric/global
package is removed.
Usego.opentelemetry.io/otel
instead. (#4039)