metric/v0.29.0
版本发布时间: 2022-04-12 07:49:14
open-telemetry/opentelemetry-go最新发布版本:v1.30.0(2024-09-11 05:35:18)
0.29.0 - 2022-04-11
Added
- The metrics global package was added back into several test files. (#2764)
- The
Meter
function is added back to thego.opentelemetry.io/otel/metric/global
package. This function is a convenience function equivalent to callingglobal.MeterProvider().Meter(...)
. (#2750)
Removed
- Removed module the
go.opentelemetry.io/otel/sdk/export/metric
. Use thego.opentelemetry.io/otel/sdk/metric
module instead. (#2720)
Changed
- Don't panic anymore when setting a global MeterProvider to itself. (#2749)
- Upgrade
go.opentelemetry.io/proto/otlp
ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric
fromv0.12.1
tov0.15.0
. This replaces the use of the now deprecatedInstrumentationLibrary
andInstrumentationLibraryMetrics
types and fields in the proto library with the equivalentInstrumentationScope
andScopeMetrics
. (#2748)