Skip to content

v0.57.2

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Aug 21:55
· 2716 commits to main since this release
ca8c4df

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)