Releases: open-telemetry/opentelemetry-collector
Releases · open-telemetry/opentelemetry-collector
v0.43.2
Version v0.43.2
v0.43.1
v0.43.1 Beta
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.43.0
🧰 Bug fixes 🧰
- ExpandStringValues function support to map[string]interface{} (#4748)
v0.43.0
v0.43.0 Beta
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.43.0
🛑 Breaking changes 🛑
- Change configmapprovider.Provider to accept a location for retrieve (#4657)
- Change Properties Provider to be a Converter (#4666)
- Define a type
WatcherFunc
for onChange func instead of func pointer (#4656) - Remove deprecated
configtest.LoadConfig
andconfigtest.LoadConfigAndValidate
(#4659) - Move service.ConfigMapConverterFunc to config.MapConverterFunc (#4673)
- Add context to config.MapConverterFunc (#4678)
- Builder: the skip compilation should only be supplied as a CLI flag. Previously, it was possible to specify that in the YAML file, contrary to the original intention (#4645)
- Builder: Remove deprecated config option module::core (#4693)
- Remove deprecate flags --metrics-level and --metrics-addr (#4695)
- Usages of
--metrics-level={VALUE}
can be replaced by--set=service.telemetry.metrics.level={VALUE}
; - Usages of
--metrics-addr={VALUE}
can be replaced by--set=service.telemetry.metrics.address={VALUE}
;
- Usages of
- Updated confighttp
ToClient
to support passing telemetry settings for instrumenting otlphttp exporter(#4449) - Deprecate
configtelemetry.Level.Set()
(#4700) - Remove support to some arches and platforms from
ocb
(opentelemetry-collector-builder) (#4710) - Remove deprecated legacy path ("v1/trace") support for otlp http receiver (#4720)
- Change the
service.NewDefaultConfigProvider
to accept a slice of location strings (#4727).
🧰 Bug fixes 🧰
- Ensure Windows path (e.g: C:) is recognized as a file path (#4726)
- Fix structured logging issue for windows service (#4686)
💡 Enhancements 💡
- Expose experimental API
configmapprovider.NewExpandConverter()
(#4672) service.NewConfigProvider
: copy slice argument, disallow changes from caller to the input slice (#4729)confighttp
andconfiggrpc
: New config optioninclude_metadata
to persist request metadata/headers inclient.Info.Metadata
(experimental) (#4547)- Remove expand cases that cannot happen with config.Map (#4649)
- Add
max_request_body_size
to confighttp.HTTPServerSettings (#4677) - Move
compression.go
intoconfighttp.go
to internalize functions incompression.go
file. (#4651)- create
configcompression
package to manage compression methods inconfighttp
andconfiggrpc
- create
- Add support for cgroupv2 memory limit (#4654)
- Enable end users to provide multiple files for config location (#4727)
v0.42.0
v0.42.0 Beta
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.42.0
🛑 Breaking changes 🛑
- Remove
configmapprovider.NewInMemory()
(#4507) - Disallow direct implementation of
configmapprovider.Retrieved
(#4577) configauth
: remove interceptor functions from the ServerAuthenticator interface (#4583)- Replace ConfigMapProvider and ConfigUnmarshaler in collector settings by one simpler ConfigProvider (#4590)
- Remove deprecated consumererror.Combine (#4597)
- Remove
configmapprovider.NewDefault
,configmapprovider.NewExpand
,configmapprovider.NewMerge
(#4600)- The merge functionality is now embedded into
service.NewConfigProvider
(#4637).
- The merge functionality is now embedded into
- Move
configtest.LoadConfig
andconfigtest.LoadConfigAndValidate
toservicetest
(#4606) - Builder: Remove deprecated
include-core
flag (#4616) - Collector telemetry level must now be accessed through an atomic function. (#4549)
💡 Enhancements 💡
confighttp
: add client-side compression support. (#4441)- Each exporter should remove
compression
field if they have and should useconfighttp.HTTPClientSettings
- Each exporter should remove
- Allow more zap logger configs:
disable_caller
,disable_stacktrace
,output_paths
,error_output_paths
,initial_fields
(#1048) - Allow the custom zap logger encoding (#4532)
- Collector self-metrics may now be configured through the configuration file. (#4069)
- CLI flags for configuring self-metrics are deprecated and will be removed
in a future release. service.telemetry.metrics.level
andservice.telemetry.metrics.address
should be used to configure collector self-metrics.
- CLI flags for configuring self-metrics are deprecated and will be removed
configauth
: add helpers to create new server authenticators. (#4558)- Refactor
configgrpc
for compression methods (#4624) - Add an option to allow
config.Map
conversion in theservice.ConfigProvider
(#4634) - Added support to expose gRPC framework's logs as part of collector logs (#4501)
- Builder: Enable unmarshal exact to help finding hard to find typos #4644
🧰 Bug fixes 🧰
v0.41.0
🛑 Breaking changes 🛑
- Remove reference to
defaultcomponents
in core and deprecateinclude_core
flag (#4087) - Remove
config.NewConfigMapFrom[File|Buffer]
, add testonly version (#4502) configtls
: TLS 1.2 is the new default mininum version (#4503)confighttp
:ToServer
now accepts acomponent.Host
, in line with gRPC's counterpart (#4514)- CORS configuration for OTLP/HTTP receivers has been moved into a
cors:
block, instead of individualcors_allowed_origins
andcors_allowed_headers
settings (#4492)
💡 Enhancements 💡
- OTLP/HTTP receivers now support setting the
Access-Control-Max-Age
header for CORS caching. (#4492) client.Info
pre-populated for all receivers using common helpers likeconfighttp
andconfiggrpc
(#4423)
🧰 Bug fixes 🧰
- Fix handling of corrupted records by persistent buffer (experimental) (#4475)
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.41.0
v0.40.0
🛑 Breaking changes 🛑
- Package
client
refactored (#4416) and auth data included in it (#4422). Final PR to be merged in the next release (#4423) - Remove
pdata.AttributeMap.InitFromMap
(#4429) - Updated configgrpc
ToDialOptions
to support passing providers to instrumentation library (#4451) - Make state information propagation non-blocking on the collector (#4460)
💡 Enhancements 💡
- Add semconv 1.7.0 and 1.8.0 (#4452)
- Added
feature-gates
CLI flag for controlling feature gate state. (#4368)
Note: the OpenTelemetry Collector Builder has its own GitHub release: cmd/builder/v0.40.0
Images and binaries: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.40.0
cmd/builder/v0.40.0
Version v0.40.0
v0.39.0
🛑 Breaking changes 🛑
- Remove deprecated config (already no-op)
ballast_size_mib
in memorylimiterprocessor (#4365) - Remove
config.Receivers
,config.Exporters
,config.Processors
, andconfig.Extensions
. Use map directly (#4344) - Remove
component.BaseProcessorFactory
, useprocessorhelper.NewFactory
instead (#4175) - Force usage of
exporterhelper.NewFactory
to implementcomponent.ExporterFactory
(#4338) - Force usage of
receiverhelper.NewFactory
to implementcomponent.ReceiverFactory
(#4338) - Force usage of
extensionhelper.NewFactory
to implementcomponent.ExtensionFactory
(#4338) - Move
service/parserprovider
package toconfig/configmapprovider
(#4206)- Rename
MapProvider
interface toProvider
- Remove
MapProvider
from helper names
- Rename
- Renamed slice-valued
pdata
types and functions for consistency. (#4325)- Rename
pdata.AnyValueArray
topdata.AttributeValueSlice
- Rename
ArrayVal()
toSliceVal()
- Rename
SetArrayVal()
toSetSliceVal()
- Rename
- Remove
config.Pipeline.Name
(#4326) - Rename
config.Mapprovider
asconfigmapprovider.Provider
(#4337) - Move
config.WatchableRetrieved
andconfig.Retrieved
interfaces toconfig/configmapprovider
package (#4337) - Remove
config.Pipeline.InputDataType
(#4343) - otlpexporter: Do not retry on PermissionDenied and Unauthenticated (#4349)
- Remove deprecated funcs
consumererror.As[Traces|Metrics|Logs]
(#4364) - Remove support to expand env variables in default configs (#4366)
💡 Enhancements 💡
- Supports more compression methods(
snappy
andzstd
) for configgrpc, in addition to currentgzip
(#4088) - Moved the OpenTelemetry Collector Builder to core (#4307)
🧰 Bug fixes 🧰
- Fix AggregationTemporality and IsMonotonic when metric descriptors are split in the batch processor (#4389)
v0.38.0
🛑 Breaking changes 🛑
- Removed
configauth.HTTPClientAuthenticator
andconfigauth.GRPCClientAuthenticator
in favor ofconfigauth.ClientAuthenticator
. (#4255) - Rename
parserprovider.MapProvider
asconfig.MapProvider
. (#4178) - Rename
parserprovider.Watchable
asconfig.WatchableMapProvider
. (#4178) - Remove deprecated no-op flags to setup Collector's logging "--log-level", "--log-profile", "--log-format". (#4213)
- Move
cmd/pdatagen
as internal packagemodel/internal/cmd/pdatagen
. (#4243) - Use directly the ComponentID in configauth. (#4238)
- Refactor configauth, getters use the map instead of iteration. (#4234)
- Change scraperhelper to follow the recommended append model for pdata. (#4202)
💡 Enhancements 💡
- Update proto to 0.11.0. (#4209)
- Change pdata to use the newly added [Traces|Metrics|Logs]Data. (#4214)
- Add ExponentialHistogram field to pdata. (#4219)
- Make sure otlphttp exporter tests include TraceID and SpanID. (#4268)
- Use multimod tool in release process. (#4229)
- Change queue metrics to use opencensus metrics instead of stats, close to otel-go. (#4220)
- Make receiver data delivery guarantees explicit (#4262)
- Simplify unmarshal logic by adding more supported hooks. (#4237)
- Add unmarshaler for otlpgrpc.[]Request and otlpgrp.[]Response (#4215)
v0.37.0
v0.37.0 Beta
🛑 Breaking changes 🛑
- Move
configcheck.ValidateConfigFromFactories
as internal function in service package (#3876) - Rename
configparser.Parser
asconfig.Map
(#4075) - Rename
component.DefaultBuildInfo()
tocomponent.NewDefaultBuildInfo()
(#4129) - Rename
consumererror.Permanent
toconsumererror.NewPermanent
(#4118) - Rename
config.NewID
toconfig.NewComponentID
andconfig.NewIDFromString
toconfig.NewComponentIDFromString
(#4137) - Rename
config.NewIDWithName
toconfig.NewComponentIDWithName
(#4151) - Move
extension/storage
toextension/experimental/storage
(#4082) - Rename
obsreporttest.SetupRecordedMetricsTest()
toobsreporttest.SetupTelemetry()
andobsreporttest.TestTelemetrySettings
toobsreporttest.TestTelemetry
(#4157)
💡 Enhancements 💡
- Add Gen dependabot into CI (#4083)
- Update OTLP to v0.10.0 (#4045).
- Add Flags field to NumberDataPoint, HistogramDataPoint, SummaryDataPoint (#4081).
- Add feature gate library (#4108)
- Add version to the internal telemetry metrics (#4140)
🧰 Bug fixes 🧰
- Fix panic when not using
service.NewCommand
(#4139)