Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.50.0
🛑 Breaking changes 🛑
- Remove pdata deprecated funcs from 2 versions (v0.48.0) ago. (#5219)
- Remove non pdata deprecated funcs/structs (#5220)
pmetric.Exemplar.ValueType()
now returns new typeExemplarValueType
(#5233)
🚩 Deprecations 🚩
- Deprecate
configunmarshaler
package, move it to internal (#5151) - Deprecate all API in
model/semconv
. The package is moved to a newsemcomv
module (#5196) - Deprecate access to
config.Retrieved
fields, use the newly added funcs to interact with the internal fields (#5198) - Deprecate
p<signal>otlp.Request.Set<Logs|Metrics|Traces>
(#5234)plogotlp.Request.SetLogs
func is deprecated in favor ofplogotlp.NewRequestFromLogs
pmetricotlp.Request.SetMetrics
func is deprecated in favor ofpmetricotlp.NewRequestFromMetrics
ptraceotlp.Request.SetTraces
func is deprecated in favor ofptraceotlp.NewRequestFromTraces
pmetric.NumberDataPoint.ValueType()
now returns new typeNumberDataPointValueType
(#5233)pmetric.MetricValueType
is deprecated in favor ofNumberDataPointValueType
pmetric.MetricValueTypeNone
is deprecated in favor ofNumberDataPointValueTypeNone
pmetric.MetricValueTypeInt
is deprecated in favor ofNumberDataPointValueTypeInt
pmetric.MetricValueTypeDouble
is deprecated in favor ofNumberDataPointValueTypeDouble
- Deprecate
plog.LogRecord.SetName()
function (#5230) - Deprecate global
featuregate
funcs in favor ofGetRegistry
and a publicRegistry
type (#5160)
💡 Enhancements 💡
- Extend config.Map.Unmarshal hook to check map key string to any TextUnmarshaler not only ComponentID (#5244)
- Collector will no longer print error with stack trace when the collector is shutdown due to a context cancel. (#5258)
🧰 Bug fixes 🧰
- Fix translation from otlp.Request to pdata representation, changes to the returned pdata not all reflected to the otlp.Request (#5197)
exporterhelper
now properly consumes any remaining items on stop (#5203)pdata
: Fix copying ofValue
withValueTypeBytes
type (#5267)pdata
: Fix copying of metric fields of primitive items slice type (#5271)