Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a release candidate for the
v1.15.0/v0.38.0
release. That release will include thev1
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.This release drops the compatibility guarantee of Go 1.18.
Added
MeterProvider
ingo.opentelemetry.io/otel
. (Support a global MeterProvider ingo.opentelemetry.io/otel
#3818)Meter
for ametric.Meter
from the globalmetric.MeterProvider
.GetMeterProivder
for a globalmetric.MeterProvider
.SetMeterProivder
to set the globalmetric.MeterProvider
.Changed
Fixed
Deprecated
go.opentelemetry.io/otel/metric/global
package is deprecated. Usego.opentelemetry.io/otel
instead. (Support a global MeterProvider ingo.opentelemetry.io/otel
#3818)Removed
go.opentelemetry.io/otel/metric/unit
package is removed. (Remove the deprecated metric/unit package #3814)