Skip to content

Releases: open-telemetry/opentelemetry-collector

v0.61.0

28 Sep 20:14
c8871dc
Compare
Choose a tag to compare

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.61.0

🛑 Breaking changes 🛑

  • Change ptrace.Span[Link]?.TraceState signature to match ptrace.Span[Link]?.TraceStateStruct (#6085)
  • Delete deprecated pmetric.NewMetricDataPointFlagsImmutable func. (#6097)
  • Delete deprecated pmetric.*DataPoint.[Set]FlagsImmutable() funcs. (#6097)
  • Delete deprecated config.Unmarshalable interface. (#6084)
  • Delete deprecated p[metric|log|trace].MarshalerSizer interfaces (#6083)
  • Delete deprecated pcommon.Map.Insert* funcs. (#6088)
  • Delete deprecated pcommon.Map.Upsert* funcs. (#6088)
  • Delete deprecated pcommon.Map.Update* funcs. (#6088)
  • Change pcommon.NewValueBytes signature to match pcommon.NewValueBytesEmpty. (#6088)
  • Delete deprecated pcommon.Empty[Trace|Span]ID. (#6098)
  • Delete deprecated pcommon.[Trace|Span]ID.Bytes(). (#6098)
  • Delete deprecated pcommon.New[Trace|Span]ID(). (#6098)
  • Delete deprecated pcommon.Value.SetBytesVal. (#6088)
  • Delete deprecated pmetric.Metric.SetDataType. (#6095)
  • Delete deprecated plog.LogRecord.[Set]FlagStruct funcs. (#6100)
  • Delete deprecated pcommon.ImmutableByteSlice and pcommon.NewImmutableByteSlice. (#6107)
  • Delete deprecated pcommon.ImmutableFloat64Slice and pcommon.NewImmutableFloat64Slice. (#6107)
  • Delete deprecated pcommon.ImmutableUInt64Slice and pcommon.NewImmutableUInt64Slice. (#6107)
  • Delete deprecated *DataPoint.SetBucketCounts and *DataPoint.SetExplicitBounds. (#6108)

🚩 Deprecations 🚩

  • Deprecate go.opentelemetry.io/collector/service/featuregate in favor of go.opentelemetry.io/collector/featuregate. (#6094)
  • Deprecate pmetric.OptionalType, unused enum type. (#6096)
  • Deprecate ptrace.Span[Link]?.TraceStateStruct in favor of ptrace.Span[Link]?.TraceState (#6085)
  • Deprecate pcommon.NewValueBytesEmpty in favor of pcommon.NewValueBytes that now has the same signature. (#6105)
  • Deprecate pmetric.MetricDataType and related constants in favor of pmetric.MetricType. (#6127)
  • Deprecate pmetric.Metric.DataType() in favor of pmetric.Metric.Type(). (#6127)
  • Deprecate pmetric.NumberDataPoint.[Set]?[Int|Double]Val() in favor of pmetric.NumberDataPoint.[Set]?[Int|Double]Value(). (#6134)
  • Deprecate pmetric.Exemplar.[Set]?[Int|Double]Val() in favor of pmetric.Exemplar.[Set]?[Int|Double]Value(). (#6134)
  • Deprecate p[metric|log|trace]otlp.[Client|Server] in favor of p[metric|log|trace]otlp.GRPC[Client|Server] (#6165)
  • Deprecate pdata Clone methods in favor of CopyTo for consistency with other pdata structs (#6164)
    • pmetric.Metrics.Clone is deprecated in favor of pmetric.Metrics.CopyTo
    • ptrace.Traces.Clone is deprecated in favor of pmetric.Traces.CopyTo
    • plog.Logs.Clone is deprecated in favor of plogs.Logs.CopyTo
  • Rename all pcommon.Value getter/setter methods by removing Val suffix. (#6092)
    • Old methods with Val suffix are deprecated.
    • StringVal and SetStringVal are deprecated in favor of Str and SetStr to avoid implementing fmt.Stringer interface.
    • Therefore, ValueTypeString is deprecated in favour of ValueTypeStr for consistency.

💡 Enhancements 💡

  • Add AppendEmpty and EnsureCapacity method to primitive pdata slices (#6060)
  • Expose AsRaw and FromRaw pcommon.Value methods (#6090)
  • Convert ValueTypeBytes attributes in logging exporter (#6153)
  • Updated how telemetryInitializer is created so it's instanced per Collector instance rather than global to the process (#6138)

v0.60.0

14 Sep 18:05
fa45027
Compare
Choose a tag to compare

v0.60.0 Beta

🛑 Breaking changes 🛑

  • Replace deprecated *DataPoint.Flags() with *DataPoint.[Set]FlagsImmutable(). (#6017)
  • Remove deprecated MetricDataPointFlagsStruct struct and NewMetricDataPointFlagsStruct func. (#6017)
  • Replace deprecated MetricDataPointFlags with MetricDataPointFlagsImmutable. (#6017)
  • Replace deprecated LogRecord.[Set]Flags() with LogRecord.[Set]FlagsStruct(). (#6007)
  • Remove deprecated components helpers funcs (#6006)
    • exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext
    • processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings
    • component.NewExtensionFactoryWithStabilityLevel
  • Remove deprecated pcommon.InvalidTraceID and pcommon.InvalidSpanID funcs (#6008)
  • Remove deprecated pcommon.Map methods: Update, Upsert, InsertNull (#6019)

🚩 Deprecations 🚩

  • Deprecate pmetric.Metric.SetDataType, in favor of empty setters for each type. (#5979)
  • Deprecate p[metric|log|trace].MarshalerSizer in favor of p[metric|log|trace].MarshalSizer. (#6033)
  • Deprecate pcommon.Map.Update+ in favor of pcommon.Map.Get + pcommon.Value.Set+ (#6013)
  • Deprecate pcommon.Empty[Trace|Span]ID in favor of pcommon.New[Trace|Span]IDEmpty (#6008)
  • Deprecate pcommon.[Trace|Span]ID.Bytes in favor direct conversion. (#6008)
  • Deprecate pcommon.New[Trace|Span]ID in favor direct conversion. (#6008)
  • Deprecate MetricDataPointFlagsImmutable type. (#6017)
  • Deprecate *DataPoint.[Set]FlagsImmutable() funcs in favor of *DataPoint.[Set]Flags(). (#6017)
  • Deprecate LogRecord.FlagsStruct() and LogRecord.SetFlagsStruct() in favor of LogRecord.Flags() and LogRecord.SetFlags(). (#6007)
  • Deprecate config.Unmarshallable in favor of confmap.Unmarshaler. (#6031)
  • Primitive slice wrapper are now mutable (#5971):
    • pcommon.ImmutableByteSlice is deprecated in favor of pcommon.ByteSlice
    • pcommon.ImmutableFloat64Slice is deprecated in favor of pcommon.Float64Slice
    • pcommon.ImmutableUInt64Slice is deprecated in favor of pcommon.UInt64Slice
    • Temporarily deprecate pcommon.NewValueBytes that will be replaced with pcommon.NewValueBytesEmpty in 0.60.0
    • Deprecate pcommon.Map.UpsertBytes in favor of pcommon.Map.PutEmptyBytes (#6064)
    • Deprecate pcommon.Value.SetBytesVal in favor of pcommon.Value.SetEmptyBytesVal
    • Deprecate pcommon.New[Slice|Map]FromRaw functions in favor of New[Slice|Map]().FromRaw (#6045)
  • Deprecate pcommon.Map.Insert* methods (#6051)
  • Deprecate pcommon.Map.Upsert* methods in favor of pcommon.Map.Put* (#6064)

💡 Enhancements 💡

  • Add skip-get-modules builder flag to support isolated environment executions (#6009)
    • Skip unnecessary Go binary path validation when the builder is used with skip-compilation and skip-get-modules flags (#6026)
  • Make the otlpreceiver support to use jsoniter to unmarshal JSON payloads. (#6040)
  • Add mapstructure hook function for confmap.Unmarshaler interface (#6029)
  • Add CopyTo and MoveTo methods to primitive slices (#6044)
  • Add support to unmarshalls bytes into plogs.Logs with jsoniter in jsonUnmarshaler (#6021)
  • Instead of exiting, ocb now generates a default Collector when no build configuration is supplied (#5752)

🧰 Bug fixes 🧰

  • otlpjson: Correctly skip unknown JSON value types. (#6038)
  • Fix reading resource attributes from trace JSON. (#6023)

v0.59.0

31 Aug 17:29
v0.59.0
f76b577
Compare
Choose a tag to compare

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.59.0

🛑 Breaking changes 🛑

  • Remove deprecated fields/funcs from service (#5907)
    • Remove ConfigProviderSettings.Location
    • Remove ConfigProviderSettings.MapProviders
    • Remove ConfigProviderSettings.MapConverters
    • Remove featuregate.Registry.MustAppy
  • Remove deprecated funcs from pdata module. (#5911)
    • Remove pmetric.MetricDataPointFlags.String()
    • Remove pmetric.NumberDataPoint.FlagsStruct()
    • Remove pmetric.HistogramDataPoint.FlagsStruct()
    • Remove pmetric.ExponentialHistogramDataPoint.FlagsStruct()
    • Remove pmetric.SummaryDataPoint.FlagsStruct()
  • Remove deprecated settings from obsreport, ProcessorSettings.Level and ExporterSettings.Level (#5918)
  • Replace processorhelper.New[Traces|Metrics|Logs]Exporter with processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings definition (#5915)
  • Replace exporterhelper.New[Traces|Metrics|Logs]Exporter with exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext definition (#5914)
  • Replace component.NewExtensionFactory with component.NewExtensionFactoryWithStabilityLevel definition (#5917)
  • Set TLS 1.2 as default for min_version for TLS configuration in case this property is not defined (affects servers). (#5956)

🚩 Deprecations 🚩

  • Deprecate processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings in favor of processorhelper.New[Traces|Metrics|Logs]Exporter (#5915)
  • Deprecates LogRecord.Flags() and LogRecord.SetFlags() in favor of LogRecord.FlagsStruct() and LogRecord.SetFlagsStruct(). (#5972)
  • Deprecate exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext in favor of exporterhelper.New[Traces|Metrics|Logs]Exporter (#5914)
  • Deprecate component.NewExtensionFactoryWithStabilityLevel in favor of component.NewExtensionFactory (#5917)
  • Deprecate plog.SeverityNumber[UPPERCASE] constants (#5927)
  • Deprecate pcommon.Map.InsertNull method (#5955)
  • Deprecate FlagsStruct types (#5933):
    • MetricDataPointFlagsStruct -> MetricDataPointFlags
    • NewMetricDataPointFlagsStruct -> NewMetricDataPointFlags
  • Deprecate builder distribution flags, use configuration. (#5946)
  • Enforce naming conventions for Invalid[Trace|Span]ID: (#5969)
    • Deprecate funcs pcommon.InvalidTraceID and pcommon.InvalidSpanID in favor of vars pcommon.EmptyTraceID and pcommon.EmptySpanID
  • Deprecate Update and Upsert methods of pcommon.Map (#5975)
  • Deprecated the current MetricDataPointFlags API. The new API provides functions to check and set Flags. (#5999)
    • NumberDataPoint.Flags -> NumberDataPoint.FlagsImmutable
    • HistogramDataPoint.Flags -> HistogramDataPoint.FlagsImmutable
    • ExponentialHistogramDataPoint.Flags -> ExponentialHistogramDataPoint.FlagsImmutable
    • SummaryDataPoint.Flags -> SummaryDataPoint.FlagsImmutable
    • MetricDataPointFlags -> MetricDataPointFlagsImmutable
    • NewMetricDataPointFlags -> MetricDataPointFlagsImmutable

💡 Enhancements 💡

  • Added MarshalerSizer interface to ptrace, plog, and pmetric packages. NewProtoMarshaler now returns a MarshalerSizer (#5929)
  • Add support to unmarshalls bytes into pmetric.Metrics with jsoniter in jsonUnmarshaler(#5433)
  • Add httpprovider to allow loading config files stored in HTTP (#5810)
  • Added service.telemetry.traces.propagators configuration to set propagators for collector's internal spans. (#5572)
  • Remove unnecessary duplicate code and allocations for reading enums in JSON. (#5928)
  • Add "dist.build_tags" configuration option to support passing go build flags to builder. (#5659)
  • Add an AsRaw func on the flags, lots of places to encode these flags. (#5934)
  • Change pdata generated types to use type definition instead of aliases. (#5936)
    • Improves documentation, and makes code easier to read/understand.
  • Log InstrumentationScope attributes in loggingexporter (#5976)
  • Add UpsertEmpty, UpsertEmptyMap and UpsertEmptySlice methods to pcommon.Map (#5975)
  • Add SetEmptyMapVal and SetEmptySliceVal methods to pcommon.Value (#5975)

🧰 Bug fixes 🧰

  • Fix reading scope attributes for trace JSON, remove duplicate code. (#5930)
  • otlpjson/trace: skip unknown fields instead of error. (#5931)
  • Fix bug in setting the correct collector state after a configuration change event. (#5830)
  • Fix json trace unmarshalling for numbers (#5924):
    • Accept both string and number for float64.
    • Accept both string and number for int32/uint32.
    • Read uint64 numbers without converting from int64.
  • Fix persistent storage client not closing when shutting down (#6003)

v0.58.0

10 Aug 18:35
c69aac5
Compare
Choose a tag to compare

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.58.0

🛑 Breaking changes 🛑

  • Remove the InstrumentationLibrary to Scope translation (part of transition to OTLP 0.19). (#5819)
    • This has a side effect that when sending JSON encoded telemetry using OTLP proto <= 0.15.0, telemetry will be dropped.
  • Require the storage to be explicitly set for the (experimental) persistent queue (#5784)
  • Remove deprecated confighttp.HTTPClientSettings.ToClientWithHost (#5803)
  • Remove deprecated component stability helpers (#5802):
    • component.WithTracesExporterAndStabilityLevel
    • component.WithMetricsExporterAndStabilityLevel
    • component.WithLogsExporterAndStabilityLevel
    • component.WithTracesReceiverAndStabilityLevel
    • component.WithMetricsReceiverAndStabilityLevel
    • component.WithLogsReceiverAndStabilityLevel
    • component.WithTracesProcessorAndStabilityLevel
    • component.WithMetricsProcessorAndStabilityLevel
    • component.WithLogsProcessorAndStabilityLevel
  • ABI breaking change: featuregate.Registry.Apply returns error now.
  • Update minimum go version to 1.18 (#5795)
  • Remove deprecated Flags API from pdata (#5814)
  • Change confmap.Provider to return pointer to Retrieved (#5839)

🚩 Deprecations 🚩

  • Deprecate duplicate settings in service.ConfigProvider, embed ResolverSettings (#5843)
  • Deprecate featuregate.Registry.MustApply in favor of featuregate.Registry.Apply. (#5801)
  • Deprecate the component.Factory.StabilityLevel(config.DataType) in favor of Stability per component (#5762):
    • component.ExporterFactory.TracesExporterStability
    • component.ExporterFactory.MetricsExporterStability
    • component.ExporterFactory.LogsExporterStability
    • component.ProcessorFactory.TracesProcessorStability
    • component.ProcessorFactory.MetricsProcessorStability
    • component.ProcessorFactory.LogsProcessorStability
    • component.ReceiverFactory.TracesReceiverStability
    • component.ReceiverFactory.MetricsReceiverStability
    • component.ReceiverFactory.LogsReceiverStability
  • Deprecate obsreport.ProcessorSettings.Level and obsreport.ExporterSettings.Level, use MetricsLevel from CreateSettings (#5824)
  • Deprecate processorhelper.New[Traces|Metrics|Logs]Processor in favor of processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings (#5833)
  • Deprecate MetricDataPointFlags.String(), no other pdata flags have this method (#5868)
  • Deprecates FlagsStruct in favor of Flags (#5842)
    • MetricDataPointFlagsStruct -> MetricDataPointFlags
    • NewMetricDataPointFlagsStruct -> NewMetricDataPointFlags
    • FlagsStruct -> Flags
  • Deprecate exporterhelper.New[Traces|Metrics|Logs]Exporter in favor of exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext (#5834)

💡 Enhancements 💡

  • Enable persistent queue in the build by default (#5828)
  • Bump to opentelemetry-proto v0.19.0. (#5823)
  • Expose Scope.Attributes in pdata (#5826)
  • Remove unnecessary limitation on pcommon.Value.Equal that slices have only primitive values. (#5865)
  • Add support to handle 404, 405 http error code as permanent errors in OTLP exporter (#5827)
  • Enforce scheme name restrictions to all confmap.Provider implementations. (#5861)

v0.57.2

03 Aug 21:55
ca8c4df
Compare
Choose a tag to compare

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.57.2

🛑 Breaking changes 🛑

  • Remove deprecated funcs/types from service related to Config (#5755)
  • Changeconfighttp.ToClient to accept a component.Host (#5737)
  • Remove deprecated funcs from pdata related to mutable slices (#5754)
  • Change the following deprecated component functions to ensure a stability level is set:
    • component.WithTracesExporter
    • component.WithMetricsExporter
    • component.WithLogsExporter
    • component.WithTracesReceiver
    • component.WithMetricsReceiver
    • component.WithLogsReceiver
    • component.WithTracesProcessor
    • component.WithMetricsProcessor
    • component.WithLogsProcessor

🚩 Deprecations 🚩

  • Deprecated the current Flag API. The new API provides functions to check and set Flags (#5790) (#5602):
    • NumberDataPoint.Flags -> NumberDataPoint.FlagsStruct
    • NumberDataPoint.SetFlags -> NumberDataPoint.FlagsStruct
    • HistogramDataPoint.Flags -> HistogramDataPoint.FlagsStruct
    • HistogramDataPoint.SetFlags -> HistogramDataPoint.FlagsStruct
    • ExponentialHistogramDataPoint.Flags -> ExponentialHistogramDataPoint.FlagsStruct
    • ExponentialHistogramDataPoint.SetFlags -> ExponentialHistogramDataPoint.FlagsStruct
    • SummaryDataPoint.Flags -> SummaryDataPoint.FlagsStruct
    • SummaryDataPoint.SetFlags -> SummaryDataPoint.FlagsStruct
    • MetricDataPointFlags -> MetricDataPointFlagsStruct
    • NewMetricDataPointFlags -> NewMetricDataPointFlagsStruct
    • MetricDataPointFlagsNone -> MetricDataPointFlagsStruct.NoRecordedValue
    • MetricDataPointFlagNoRecordedValue -> MetricDataPointFlagsStruct.NoRecordedValue
    • MetricDataPointFlag
  • Deprecate the following component functions added to ensure a stability level is set:
    • component.WithTracesExporterAndStabilityLevel -> component.WithTracesExporter
    • component.WithMetricsExporterAndStabilityLevel -> component.WithMetricsExporter
    • component.WithLogsExporterAndStabilityLevel -> component.WithLogsExporter
    • component.WithTracesReceiverAndStabilityLevel -> component.WithTracesReceiver
    • component.WithMetricsReceiverAndStabilityLevel -> component.WithMetricsReceiver
    • component.WithLogsReceiverAndStabilityLevel -> component.WithLogsReceiver
    • component.WithTracesProcessorAndStabilityLevel -> component.WithTracesProcessor
    • component.WithMetricsProcessorAndStabilityLevel -> component.WithMetricsProcessor
    • component.WithLogsProcessorAndStabilityLevel -> component.WithLogsProcessor

💡 Enhancements 💡

  • Make the in-memory and persistent queues more consistent (#5764
  • ocb now exits with an error if it fails to load the build configuration. (#5731)
  • Deprecate HTTPClientSettings.ToClientWithHost (#5737)

🧰 Bug fixes 🧰

  • Fix bug in ocb where flags did not take precedence. (#5726)

v0.57.1

03 Aug 19:28
v0.57.1
9a5a657
Compare
Choose a tag to compare

This was a failed release. Use v0.57.2 instead.

v0.57.0

03 Aug 16:12
v0.57.0
e5b548d
Compare
Choose a tag to compare

This was a failed release. Use v0.57.2 instead.

v0.56.0

20 Jul 20:32
v0.56.0
d4dc52b
Compare
Choose a tag to compare

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.56.0

💡 Enhancements 💡

  • Add linux-ppc64le architecture to cross build tests in CI (#5645)
  • client: perform case insensitive lookups in case the requested metadata value isn't found (#5646)
  • loggingexporter: Decouple loglevel field from level of logged messages (#5678)
  • Expose pcommon.NewSliceFromRaw function (#5679)
  • loggingexporter: create the exporter's logger from the service's logger (#5677)
  • Add otelcol_exporter_queue_capacity metrics show the collector's exporter queue capacity (#5475)

🧰 Bug fixes 🧰

  • Fix Collector panic when disabling telemetry metrics (#5642)
  • Fix Collector panic when featuregate value is empty (#5663)
  • Fix confighttp.compression panic due to nil request.Body. (#5628)

v0.55.0

06 Jul 17:15
v0.55.0
a1e2ad0
Compare
Choose a tag to compare

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.55.0

🛑 Breaking changes 🛑

  • Remove deprecated config.ServiceTelemetry (#5565)
  • Remove deprecated config.ServiceTelemetryLogs (#5565)
  • Remove deprecated config.ServiceTelemetryMetrics (#5565)

🚩 Deprecations 🚩

  • Deprecate service.ConfigServiceTelemetry, service.ConfigServiceTelemetryLogs, and service.ConfigServiceTelemetryMetrics (#5565)
  • Deprecate the following component functions to ensure a stability level is set (#5580):
    • component.WithTracesExporter -> component.WithTracesExporterAndStabilityLevel
    • component.WithMetricsExporter -> component.WithMetricsExporterAndStabilityLevel
    • component.WithLogsExporter -> component.WithLogsExporterAndStabilityLevel
    • component.WithTracesReceiver -> component.WithTracesReceiverAndStabilityLevel
    • component.WithMetricsReceiver -> component.WithMetricsReceiverAndStabilityLevel
    • component.WithLogsReceiver -> component.WithLogsReceiverAndStabilityLevel
    • component.WithTracesProcessor -> component.WithTracesProcessorAndStabilityLevel
    • component.WithMetricsProcessor -> component.WithMetricsProcessorAndStabilityLevel
    • component.WithLogsProcessor -> component.WithLogsProcessorAndStabilityLevel

💡 Enhancements 💡

  • Components stability levels are now logged. By default components which haven't defined their stability levels, or which are
    unmaintained, deprecated or in development will log a message. (#5580)

💡 Enhancements 💡

  • exporter/logging: Skip "bad file descriptor" sync errors (#5585)

🧰 Bug fixes 🧰

  • Fix initialization of the OpenTelemetry MetricProvider. (#5571)
  • Set log level for undefined stability level to debug. (#5635)

v0.54.0

22 Jun 17:38
v0.54.0
b094dbd
Compare
Choose a tag to compare

v0.54.0 Beta

🛑 Breaking changes 🛑

  • Remove deprecated GetLogger. (#5504)
  • Remove deprecated configtest.LoadConfigMap (#5505)
  • Remove deprecated config.Map (#5505)
  • Remove deprecated config.MapProvider (#5505)
  • Remove deprecated config.MapConverter (#5505)
  • Remove deprecated config.Received (#5505)
  • Remove deprecated config.CloseFunc (#5505)
  • Deprecated pcommon.Value.NewValueBytes is brought back taking pcommon.ImmutableByteSlice as an argument instead of []byte (#5299)

🚩 Deprecations 🚩

  • Use immutable slices for primitive types slices to restrict mutations. (#5299)
    • Value.NewValueMBytes func is deprecated in favor of Value.NewValueBytes func that takes
      ImmutableByteSlice instead of []byte
    • Value.SetMBytesVal func is deprecated in favor of Value.SetBytesVal func that takes
      pcommon.ImmutableByteSlice instead of []byte.
    • Value.BytesVal func is deprecated in favor of Value.BytesVal func that returns pcommon.ImmutableByteSlice
      instead of []byte.
    • <HistogramDataPoint|Buckets>.SetMBucketCounts funcs are deprecated in favor of
      <HistogramDataPoint|Buckets>.SetBucketCounts funcs that take pcommon.ImmutableUInt64Slice instead of []uint64.
    • <HistogramDataPoint|Buckets>.MBucketCounts funcs are deprecated in favor of
      <HistogramDataPoint|Buckets>.BucketCounts funcs that return pcommon.ImmutableUInt64Slice instead of []uint64.
    • HistogramDataPoint.SetMExplicitBounds func is deprecated in favor of HistogramDataPoint.SetExplicitBounds func
      that takes pcommon.ImmutableFloat64Slice instead of []float64.
    • HistogramDataPoint.MExplicitBounds func func is deprecated in favor of HistogramDataPoint.ExplicitBounds
      returns pcommon.ImmutableFloat64Slice instead of []float64.

💡 Enhancements 💡

  • Use OpenCensus metric package for process metrics instead of stats package (#5486)
  • Update OTLP to v0.18.0 (#5530)
  • Log histogram min/max fields with logging exporter (#5520)

🧰 Bug fixes 🧰

  • Update sum field of exponential histograms to make it optional (#5530)
  • Remove redundant extension shutdown call (#5532)
  • Refactor pipelines builder, fix some issues (#5512)
    • Unconfigured receivers are not identified, this was not a real problem in final binaries since the validation of the config catch this.
    • Allow configurations to contain "unused" receivers. Receivers that are configured but not used in any pipeline, this was possible already for exporters and processors.
    • Remove the enforcement/check that Receiver factories create the same instance for the same config.