Skip to content

v0.50.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Apr 20:44
· 2942 commits to main since this release
c4bd510

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 type ExemplarValueType (#5233)

🚩 Deprecations 🚩

  • Deprecate configunmarshaler package, move it to internal (#5151)
  • Deprecate all API in model/semconv. The package is moved to a new semcomv 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 of plogotlp.NewRequestFromLogs
    • pmetricotlp.Request.SetMetrics func is deprecated in favor of pmetricotlp.NewRequestFromMetrics
    • ptraceotlp.Request.SetTraces func is deprecated in favor of ptraceotlp.NewRequestFromTraces
  • pmetric.NumberDataPoint.ValueType() now returns new type NumberDataPointValueType (#5233)
    • pmetric.MetricValueType is deprecated in favor of NumberDataPointValueType
    • pmetric.MetricValueTypeNone is deprecated in favor of NumberDataPointValueTypeNone
    • pmetric.MetricValueTypeInt is deprecated in favor of NumberDataPointValueTypeInt
    • pmetric.MetricValueTypeDouble is deprecated in favor of NumberDataPointValueTypeDouble
  • Deprecate plog.LogRecord.SetName() function (#5230)
  • Deprecate global featuregate funcs in favor of GetRegistry and a public Registry 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 of Value with ValueTypeBytes type (#5267)
  • pdata: Fix copying of metric fields of primitive items slice type (#5271)