Skip to content

Releases: open-telemetry/opentelemetry-collector

v0.53.0

08 Jun 15:07
v0.53.0
772a375
Compare
Choose a tag to compare

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

🛑 Breaking changes 🛑

  • Remove deprecated componenterror package. (#5420)
  • Remove deprecated config.MapConverterFunc. (#5419)
  • Remove AddCollectorVersionTag, enabled for long time already. (#5471)

🚩 Deprecations 🚩

  • Move config.Map to its own package confmap which does not depend on any component concept (#5237)
    • config.Map -> confmap.ConfMap
    • config.MapProvider -> confmap.Provider
    • config.Received -> confmap.Received
    • config.NewReceivedFromMap -> confmap.NewReceived
    • config.CloseFunc -> confmap.CloseFunc
    • config.ChangeEvent -> confmap.ChangeEvent
    • config.MapConverter -> confmap.Converter
    • Package envmapprovider -> envprovider
    • Package filemapprovider -> fileprovider
    • Package yamlmapprovider -> yamlprovider
    • Package expandmapconverter -> expandconverter
    • Package filemapprovider -> fileprovider
    • Package overwritepropertiesmapconverter -> overwritepropertiesconverter
  • Deprecate component.ExtensionDefaultConfigFunc in favor of component.ExtensionCreateDefaultConfigFunc (#5451)
  • Deprecate confmap.Received.AsMap in favor of confmap.Received.AsConf (#5465)
  • Deprecate confmap.Conf.Set, not used anywhere for the moment (#5485)

💡 Enhancements 💡

  • Move service.mapResolver to confmap.Resolver (#5444)
  • Add linux-arm architecture to cross build tests in CI (#5472)

🧰 Bug fixes 🧰

  • Fixes the "service.version" label value for internal metrics, always was "latest" in core/contrib distros. (#5449).
  • Send correct batch stats when SendBatchMaxSize is set (#5385)

v0.52.0

25 May 18:27
5382749
Compare
Choose a tag to compare

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

🛑 Breaking changes 🛑

  • Remove configunmarshaler.Unmarshaler interface, per deprecation comment (#5348)
  • Remove deprecated pdata funcs/structs from v0.50.0 (#5345)
  • Remove deprecated pdata getters and setters of primitive slice values: Value.BytesVal, Value.SetBytesVal,
    Value.UpdateBytes, Value.InsertBytes, Value.UpsertBytes, <HistogramDataPoint|Buckets>.BucketCounts,
    <HistogramDataPoint|Buckets>.SetBucketCounts, HistogramDataPoint.ExplicitBounds,
    HistogramDataPoint.SetExplicitBounds (#5347)
  • Remove deprecated featuregate funcs/structs from v0.50.0 (#5346)
  • Remove access to deprecated members of the config.Retrieved struct (#5363)
  • Replace usage of config.MapConverterFunc with config.MapConverter (#5382)

🚩 Deprecations 🚩

  • Deprecate config.Config and config.Service, use service.Config* (#4608)
  • Deprecate componenterror package, move everything to component (#5383)
  • pcommon.Value.NewValueBytes is deprecated in favor of Value.NewValueMBytes in preparation of migration to
    immutable slices (#5367)

💡 Enhancements 💡

  • Update OTLP to v0.17.0 (#5335)
    • Add optional min/max fields to histograms (#5399)

v0.51.0

11 May 20:16
4878d42
Compare
Choose a tag to compare

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

🛑 Breaking changes 🛑

  • Remove deprecated model module, everything is available in pdata and semconv. (#5281)
    • Old versions of the module are still available, but no new versions will be released.
  • Remove deprecated LogRecord.Name field. (#5202)

🚩 Deprecations 🚩

  • In preparation of migration to immutable slices for primitive type items, the following methods are renamed (#5344)
    • Value.BytesVal func is deprecated in favor of Value.MBytesVal.
    • Value.SetBytesVal func is deprecated in favor of Value.SetMBytesVal.
    • Value.UpdateBytes func is deprecated in favor of Value.UpdateMBytes.
    • Value.InsertBytes func is deprecated in favor of Value.InsertMBytes.
    • Value.UpsertBytes func is deprecated in favor of Value.UpsertMBytes.
    • <HistogramDataPoint|Buckets>.BucketCounts funcs are deprecated in favor of
      <HistogramDataPoint|Buckets>.MBucketCounts.
    • <HistogramDataPoint|Buckets>.SetBucketCounts funcs are deprecated in favor of
      <HistogramDataPoint|Buckets>.SetMBucketCounts.
    • HistogramDataPoint.ExplicitBounds func is deprecated in favor of HistogramDataPoint.MExplicitBounds.
    • HistogramDataPoint.SetExplicitBounds func is deprecated in favor of HistogramDataPoint.SetMExplicitBounds.

💡 Enhancements 💡

  • pdata: Expose pcommon.NewSliceFromRaw and pcommon.Slice.AsRaw functions (#5311)

🧰 Bug fixes 🧰

  • Fix Windows Event Logs ignoring user-specified logging options (#5298)

v0.50.0

28 Apr 20:44
c4bd510
Compare
Choose a tag to compare

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)

v0.49.0

13 Apr 22:50
v0.49.0
763cbc6
Compare
Choose a tag to compare

v0.49.0 Beta

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

🛑 Breaking changes 🛑

  • Remove deprecated structs/funcs from previous versions (#5131)
  • Do not set TraceProvider to global otel (#5138)
  • Remove deprecated funcs from otlpgrpc (#5144)
  • Add Scheme to MapProvider interface (#5068)
  • Do not set MeterProvider to global otel (#5146)
  • Make InstrumentationLibrary<signal>ToScope helper functions unexported (#5164)
  • Remove Log's "ShortName" from logging exporter output (#5172)

🚩 Deprecations 🚩

  • All pdata related APIs from model (model/pdata, model/otlp and model/otlpgrpc) are deprecated in
    favor of packages in the new pdata module separated by telemetry signal type (#5168)
    • model/pdata, model/otlp -> pdata/pcommon, pdata/plog, pdata/pmetric, pdata/ptrace
    • model/otlpgrpc -> pdata/plog/plogotlp, pdata/pmetric/pmetricotlp, pdata/ptrace/ptraceotlp
  • Deprecate configmapprovider package, replace with mapconverter (#5167)
  • Deprecate service.MustNewConfigProvider and service.MustNewDefaultConfigProviderin favor of service.NewConfigProvider (#4936)

💡 Enhancements 💡

  • OTLP HTTP receiver will use HTTP/2 over TLS if client supports it (#5109)
  • Add ObservedTimestamp field to pdata.LogRecord (#5171)

🧰 Bug fixes 🧰

  • Setup the correct meter provider if telemetry.useOtelForInternalMetrics featuregate enabled (#5146)
  • Fix pdata.Value.asRaw() to correctly return elements of Slice and Map type (#5153)
  • Update pdata.Slice.asRaw() to return raw representation of Slice and Map elements (#5157)
  • The codepath through the OTLP receiver for gRPC was not translating the InstrumentationLibrary* to Scope* (#5189)

v0.48.0

30 Mar 19:29
v0.48.0
699a81b
Compare
Choose a tag to compare

v0.48.0 Beta

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

🛑 Breaking changes 🛑

  • Remove deprecated consumerhelper package (#5028)
  • Remove pdata InternalRep deprecated funcs (#5018)
  • Remove service/defaultcomponents deprecated package (#5019)
  • Remove deprecated UseOpenTelemetryForInternalMetrics (#5026)
  • Change outcome of pdata.Value.MapVal() and pdata.Value.SliceVal() functions misuse. In case of
    type mismatch, they now return an invalid zero-initialized instance instead of a detached
    collection (#5034)
  • OTLP JSON field changes following upgrade to OTLP v0.15.0:
    • "instrumentationLibraryLogs" is now "scopeLogs"
    • "instrumentationLibraryMetrics" is now "scopeMetrics"
    • "instrumentationLibrarySpans" is now "scopeSpans"
    • "instrumentationLibrary" is now "scope"
  • AsString for pdata.Value now returns the JSON-encoded string of floats. (#4934)

🚩 Deprecations 🚩

  • Move MapProvider to config, split providers in their own package (#5030)
  • API related to pdata.AttributeValue is deprecated in favor of pdata.Value (#4978)
    • pdata.AttributeValue struct is deprecated in favor of pdata.Value
    • pdata.AttributeValueType type is deprecated in favor of pdata.ValueType
    • pdata.AttributeValueType... constants are deprecated in favor of pdata.ValueType...
    • pdata.NewAttributeValue... funcs are deprecated in favor of pdata.NewValue...
  • Deprecate featureflags.FlagValue.SetSlice, unnecessary public (#5053)
  • Remove "Attribute" part from common pdata collections names (#5001)
    • Deprecate pdata.AttributeMap struct in favor of pdata.Map
    • Deprecate pdata.NewAttributeMap func in favor of pdata.NewMap
    • Deprecate pdata.NewAttributeMapFromMap func in favor of pdata.NewMapFromRaw
    • Deprecate pdata.AttributeValueSlice struct in favor of pdata.Slice
    • Deprecate pdata.NewAttributeValueSlice func in favor of pdata.NewSlice
  • Deprecate LogRecord.Name(), it was deprecated in the data model (#5054)
  • Rename Array type of pdata.Value to Slice (#5066)
    • Deprecate pdata.AttributeValueTypeArray type in favor of pdata.ValueTypeSlice
    • Deprecate pdata.NewAttributeValueArray func in favor of pdata.NewValueSlice
  • Deprecate global flag in featuregates (#5060)
  • Deprecate last funcs/structs in componenthelper (#5069)
  • Change structs in otlpgrpc to follow standard go encoding interfaces (#5062)
    • Deprecate UnmarshalJSON[Traces|Metrics|Logs][Reques|Response] in favor of UnmarshalJSON.
    • Deprecate [Traces|Metrics|Logs][Reques|Response].Marshal in favor of MarshalProto.
    • Deprecate UnmarshalJSON[Traces|Metrics|Logs][Reques|Response] in favor of UnmarshalProto.
  • Deprecating following pdata methods/types following OTLP v0.15.0 upgrade (#5076):
    - InstrumentationLibrary is now InstrumentationScope
    - NewInstrumentationLibrary is now NewInstrumentationScope
    - InstrumentationLibraryLogsSlice is now ScopeLogsSlice
    - NewInstrumentationLibraryLogsSlice is now NewScopeLogsSlice
    - InstrumentationLibraryLogs is now ScopeLogs
    - NewInstrumentationLibraryLogs is now NewScopeLogs
    - InstrumentationLibraryMetricsSlice is now ScopeMetricsSlice
    - NewInstrumentationLibraryMetricsSlice is now NewScopeMetricsSlice
    - InstrumentationLibraryMetrics is now ScopeMetrics
    - NewInstrumentationLibraryMetrics is now NewScopeMetrics
    - InstrumentationLibrarySpansSlice is now ScopeSpansSlice
    - NewInstrumentationLibrarySpansSlice is now NewScopeSpansSlice
    - InstrumentationLibrarySpans is now ScopeSpans
    - NewInstrumentationLibrarySpans is now NewScopeSpans

💡 Enhancements 💡

  • Add semconv definitions for v1.9.0 (#5090)
  • Change outcome of pdata.Metric.<Gauge|Sum|Histogram|ExponentialHistogram>() functions misuse.
    In case of type mismatch, they don't panic right away but return an invalid zero-initialized
    instance for consistency with other OneOf field accessors (#5035)
  • Update OTLP to v0.15.0 (#5064)
  • Adding support for transition from older versions of OTLP to OTLP v0.15.0 (#5085)

🧰 Bug fixes 🧰

  • Add missing files for semconv definitions v1.7.0 and v1.8.0 (#5091)
  • The featuregates were not configured from the "--feature-gates" flag on windows service (#5060)
  • Fix Semantic Convention Schema URL definition for 1.5.0 and 1.6.1 versions (#5103)

v0.47.0

16 Mar 12:45
v0.47.0
d29ac47
Compare
Choose a tag to compare

v0.47.0 Beta

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

🛑 Breaking changes 🛑

  • Remove Type funcs in pdata (#4933)
  • pdata: deprecate funcs working with InternalRep (#4957)
  • Remove all deprecated funcs/structs from v0.46.0 (#4995)

🚩 Deprecations 🚩

  • Deprecate pdata.AttributeMap.Delete in favor of pdata.AttributeMap.Remove (#4914)
  • Deprecate consumerhelper, move helpers to consumer (#5006)

💡 Enhancements 💡

  • Add pdata.AttributeMap.RemoveIf, which is a more performant way to remove multiple keys (#4914)
  • Add pipeline key with pipeline identifier to processor loggers (#4968)
  • Add a new yaml provider, allows providing yaml bytes (#4998)

🧰 Bug fixes 🧰

  • Collector Run will now exit when a context cancels (#4954)
  • Add missing droppedAttributesCount to pdata generated resource (#4979)
  • Collector Run will now set state to Closed if startup fails (#4974)

v0.46.0

02 Mar 18:37
v0.46.0
0c99b50
Compare
Choose a tag to compare

v0.46.0 Beta

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

🛑 Breaking changes 🛑

  • Deprecated funcs config.DefaultConfig, confighttp.DefaultHTTPSettings, exporterhelper.DefaultTimeoutSettings,
    exporthelper.DefaultQueueSettings, exporterhelper.DefaultRetrySettings, testcomponents.DefaultFactories, and
    scraperhelper.DefaultScraperControllerSettings in favour for their NewDefault method to adhere to contribution guidelines (#4865)
  • Deprecated funcs componenthelper.StartFunc, componenthelper.ShutdownFunc in favour of component.StartFunc and component.ShutdownFunc (#4803)
  • Move helpers from extensionhelper to component (#4805)
    • Deprecated extensionhelper.CreateDefaultConfig in favour of component.ExtensionDefaultConfigFunc
    • Deprecated extensionhelper.CreateServiceExtension in favour of component.CreateExtensionFunc
    • Deprecated extensionhelper.NewFactory in favour of component.NewExtensionFactory
  • Move helpers from processorhelper to component (#4889)
    • Deprecated processorhelper.CreateDefaultConfig in favour of component.ProcessorDefaultConfigFunc
    • Deprecated processorhelper.WithTraces in favour of component.WithTracesProcessor
    • Deprecated processorhelper.WithMetrics in favour of component.WithMetricsProcessor
    • Deprecated processorhelper.WithLogs in favour of component.WithLogsProcessor
    • Deprecated processorhelper.NewFactory in favour of component.NewProcessorFactory
  • Move helpers from exporterhelper to component (#4899)
    • Deprecated exporterhelper.CreateDefaultConfig in favour of component.ExporterDefaultConfigFunc
    • Deprecated exporterhelper.WithTraces in favour of component.WithTracesExporter
    • Deprecated exporterhelper.WithMetrics in favour of component.WithMetricsExporter
    • Deprecated exporterhelper.WithLogs in favour of component.WithLogsExporter
    • Deprecated exporterhelper.NewFactory in favour of component.NewExporterFactory
  • Move helpers from receiverhelper to component (#4891)
    • Deprecated receiverhelper.CreateDefaultConfig in favour of component.ReceiverDefaultConfigFunc
    • Deprecated receiverhelper.WithTraces in favour of component.WithTracesReceiver
    • Deprecated receiverhelper.WithMetrics in favour of component.WithMetricsReceiver
    • Deprecated receiverhelper.WithLogs in favour of component.WithLogsReceiver
    • Deprecated receiverhelper.NewFactory in favour of component.NewReceiverFactory
  • Change otel collector to enable open telemetry metrics through feature gate instead of a constant
  • Remove support for legacy otlp/http port. (#4916)
  • Remove deprecated funcs in pdata (#4809)
  • Remove deprecated Retrieve funcs/calls (#4922)
  • Remove deprecated NewConfigProvider funcs (#4937)

💡 Enhancements 💡

  • Add validation to check at least one endpoint is specified in otlphttpexporter's configuration (#4860)

🧰 Bug fixes 🧰

  • Initialized logger with collector to avoid potential race condition panic on Shutdown (#4827)
  • In addition to traces, now logs and metrics processors will start the memory limiter.
    Added thread-safe logic so only the first processor can launch the checkMemLimits go-routine and the last processor
    that calls shutdown to terminate it; this is done per memory limiter instance.
    Added memory limiter factory to cache initiated object and be reused by similar config. This guarantees a single
    running checkMemLimits per config (#4886)
  • Resolved race condition in collector when calling Shutdown (#4878)

v0.45.0

16 Feb 16:05
v0.45.0
dacd8a2
Compare
Choose a tag to compare

v0.45.0 Beta

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

🛑 Breaking changes 🛑

  • Remove deprecated funcs in configtelemetry (#4808)
  • Deprecate service/defaultcomponents go package (#4622)
  • otlphttp and otlp exporters enable gzip compression by default (#4632)

💡 Enhancements 💡

  • Reject invalid queue size exporterhelper (#4799)
  • Transform configmapprovider.Retrieved interface to a struct (#4789)
  • Added feature gate summary to zpages extension (#4834)
  • Add support for reloading TLS certificates (#4737)

🚩 Deprecations 🚩

  • Deprecate pdata.NumberDataPoint.Type() and pdata.Exemplar.Type() in favor of NumberDataPoint.ValueType() and
    Exemplar.ValueType() (#4850)

v0.44.0

02 Feb 23:23
59ee60d
Compare
Choose a tag to compare

v0.44.0 Beta

🛑 Breaking changes 🛑

  • Deprecate service.NewConfigProvider, and a new version service.MustNewConfigProvider (#4734).
  • Updated to OTLP 0.12.0. Deprecated traces and metrics messages that existed
    in 0.11.0 are no longer converted to the messages and fields that replaced the deprecated ones.
    Received deprecated messages and fields will be now ignored. In OTLP/JSON in the
    instrumentationLibraryLogs object the "logs" field is now named "logRecords" (#4724)

💡 Enhancements 💡

  • Invalid requests now return an appropriate unsupported (405) or method not allowed (415) response (#4735)
  • client.Info: Add Host property for Metadata (#4736)