Release v1.15.0-rc.2/v0.38.0-rc.2
Pre-release
Pre-release
This is a release candidate for the v1.15.0/v0.38.0 release. That release will 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
- The
WithHostIDoption togo.opentelemetry.io/otel/sdk/resource. (#3812) - The
WithoutTimestampsoption togo.opentelemetry.io/otel/exporters/stdout/stdoutmetricto sets all timestamps to zero. (#3828) - The new
Exemplartype is added togo.opentelemetry.io/otel/sdk/metric/metricdata. Both theDataPointandHistogramDataPointtypes from that package have a new field ofExemplarscontaining the sampled exemplars for their timeseries. (#3849) - Configuration for each metric instrument in
go.opentelemetry.io/otel/sdk/metric/instrument. (#3895) - The internal logging introduces a warning level verbosity equal to
V(1). (#3900)
Changed
- Optimize memory allocation when creation a new
SetusingNewSetorNewSetWithFilteredingo.opentelemetry.io/otel/attribute. (#3832) - Optimize memory allocation when creation new metric instruments in
go.opentelemetry.io/otel/sdk/metric. (#3832) - Avoid creating new objects on all calls to
WithDeferredSetupandSkipContextSetupin OpenTracing bridge. (#3833) - The
NewandDetectfunctions fromgo.opentelemetry.io/otel/sdk/resourcereturn errors that wrap underlying errors instead of just containing the underlying error strings. (#3844) - Both the
HistogramandHistogramDataPointare redefined with a generic argument of[N int64 | float64]ingo.opentelemetry.io/otel/sdk/metric/metricdata. (#3849) - The metric
Exportinterface fromgo.opentelemetry.io/otel/sdk/metricaccepts a*ResourceMetricsinstead ofResourceMetrics. (#3853) - Rename
AsynchronoustoObservableingo.opentelemetry.io/otel/metric/instrument. (#3892) - Rename
Int64ObserverOptiontoInt64ObservableOptioningo.opentelemetry.io/otel/metric/instrument. (#3895) - Rename
Float64ObserverOptiontoFloat64ObservableOptioningo.opentelemetry.io/otel/metric/instrument. (#3895) - The internal logging changes the verbosity level of info to
V(4), the verbosity level of debug toV(8). (#3900)
Fixed
TracerProviderconsistently doesn't allow to register aSpanProcessorafter shutdown. (#3845)
Removed
- The deprecated
go.opentelemetry.io/otel/metric/globalpackage is removed. (#3829) - The unneeded
Synchronousinterface ingo.opentelemetry.io/otel/metric/instrumentwas removed. (#3892) - The
Float64ObserverConfigandNewFloat64ObserverConfigingo.opentelemetry.io/otel/sdk/metric/instrument. Use the addedfloat64instrument configuration instead. (#3895) - The
Int64ObserverConfigandNewInt64ObserverConfigingo.opentelemetry.io/otel/sdk/metric/instrument. Use the addedint64instrument configuration instead. (#3895) - The
NewNoopMeterfunction ingo.opentelemetry.io/otel/metric, useNewMeterProvider().Meter("")instead. (#3893)