github open-telemetry/opentelemetry-collector v0.50.0

latest releases: v0.100.0, cmd/builder/v0.100.0, pdata/v1.7.0...
2 years ago

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)

Don't miss a new opentelemetry-collector release

NewReleases is sending notifications on new releases.