Releases: open-telemetry/opentelemetry-collector
v1.0.1/v0.92.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.92.0
End user Changelog
v1.0.1/v0.92.0
🛑 Breaking changes 🛑
-
exporters/sending_queue
: Do not re-enqueue failed batches, rely on the retry_on_failure strategy instead. (#8382)
The current re-enqueuing behavior is not obvious and cannot be configured. It takes place only for persistent queue
and only ifretry_on_failure::enabled=true
even ifretry_on_failure
is a setting for a different backoff retry
strategy. This change removes the re-enqueuing behavior. Consider increasingretry_on_failure::max_elapsed_time
to reduce chances of data loss or set it to 0 to keep retrying until requests succeed. -
confmap
: Make the optionWithErrorUnused
enabled by default when unmarshaling configuration (#7102)
The optionWithErrorUnused
is now enabled by default, and a new optionWithIgnoreUnused
is introduced to ignore
errors about unused fields. -
status
: DeprecateReportComponentStatus
in favor ofReportStatus
. This new function does not return an error. (#9148)
🚩 Deprecations 🚩
-
connectortest
: Deprecate connectortest.New[Metrics|Logs|Traces]Router in favour of connector.New[Metrics|Logs|Traces]Router (#9095) -
exporterhelper
: Deprecate exporterhelper.RetrySettings in favor of configretry.BackOffConfig (#9091) -
extension/ballast
: Deprecatememory_ballast
extension. (#8343)
UseGOMEMLIMIT
environment variable instead. -
connector
: Deprecate [Metrics|Logs|Traces]Router in favour of [Metrics|Logs|Traces]RouterAndConsumer (#9095)
💡 Enhancements 💡
-
exporterhelper
: Add RetrySettings validation function (#9089)
Validate that time.Duration, multiplier values in configretry are non-negative, and randomization_factor is between 0 and 1 -
service
: Enabletelemetry.useOtelForInternalMetrics
by updating the flag to beta (#7454)
The metrics generated should be consistent with the metrics generated
previously with OpenCensus. Users can disable the behaviour
by setting--feature-gates -telemetry.useOtelForInternalMetrics
at
collector start. -
mdatagen
: move component from contrib to core (#9172) -
semconv
: Generated Semantic conventions 1.22.0. (#8686) -
confignet
: Adddialer_timeout
config option. (#9066) -
processor/memory_limiter
: Update config validation errors (#9059)- Fix names of the config fields that are validated in the error messages
- Move the validation from start to the initialization phrase
-
exporterhelper
: Add config Validate for TimeoutSettings (#9104)
🧰 Bug fixes 🧰
memorylimiterprocessor
: Fixed leaking goroutines from memorylimiterprocessor (#9099)cmd/otelcorecol
: Fix the code detecting if the collector is running as a service on Windows. (#7350)
Removed theNO_WINDOWS_SERVICE
environment variable given it is not needed anymore.otlpexporter
: remove dependency of otlphttpreceiver on otlpexporter (#6454)
API Changelog
This changelog includes only developer-facing changes.
If you are looking for user-facing changes, check out CHANGELOG.md.
v1.0.1/v0.92.0
🛑 Breaking changes 🛑
otlpexporter
: Change Config members names to use Config suffix. (#9091)component
: Remove deprecated unused TelemetrySettingsBase (#9145)
🚩 Deprecations 🚩
cmd/builder/v0.92.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.92.0
v0.91.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.91.0
v0.91.0
💡 Enhancements 💡
statusreporting
: Automates status reporting upon the completion of component.Start(). (#7682)service
: add resource attributes as labels to otel metrics to ensures backwards compatibility with OpenCensus metrics. (#9029)semconv
: Generated Semantic conventions 1.21. (#9056)config/confighttp
: Exposes http/2 transport settings to enable health check and workaround golang http/2 issue golang/go#59690 (#9022)cmd/builder
: running builder version on binaries installed withgo install
will output the version specified at the suffix. (#8770)
🧰 Bug fixes 🧰
-
exporterhelper
: fix missed metric aggregations (#9048)
This ensures that context cancellation in the exporter doesn't interfere with metric aggregation. The OTel
SDK currently returns if there's an error in the context used inAdd
. This means that if there's a
cancelled context in an export, the metrics are now recorded. -
service
: Fix bug where MutatesData would not correctly propagate through connectors. (#9053)
cmd/builder/v0.91.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.91.0
v0.90.1
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.90.1
User facing changes
🧰 Bug fixes 🧰
exporterhelper
: Remove noisy "Exporting finished" log (#9017)
cmd/builder/v0.90.1
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.90.1
v1.0.0/v0.90.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.90.0
This release contains the first stable release of the pdata and featuregate modules . Our project stability guarantees now apply to the go.opentelemetry.io/collector/pdata
and go.opentelemetry.io/collector/featuregate
modules. See our versioning policy for more information about these stability guarantees.
User facing changes
💡 Enhancements 💡
statusreporting
: Automates status reporting upon the completion of component.Start(). (#7682)service
: add resource attributes as labels to otel metrics to ensures backwards compatibility with OpenCensus metrics. (#9029)semconv
: Generated Semantic conventions 1.21. (#9056)config/confighttp
: Exposes http/2 transport settings to enable health check and workaround golang http/2 issue golang/go#59690 (#9022)cmd/builder
: running builder version on binaries installed withgo install
will output the version specified at the suffix. (#8770)
🧰 Bug fixes 🧰
-
exporterhelper
: fix missed metric aggregations (#9048)
This ensures that context cancellation in the exporter doesn't interfere with metric aggregation. The OTel
SDK currently returns if there's an error in the context used inAdd
. This means that if there's a
cancelled context in an export, the metrics are now recorded. -
service
: Fix bug where MutatesData would not correctly propagate through connectors. (#9053)
cmd/builder/v0.90.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.90.0
v1.0.0-rcv0018/v0.89.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.89.0
User facing changes
💡 Enhancements 💡
builder
: remove replace statement in builder template (#8763)service/extensions
: Allow extensions to declare dependencies on other extensions and guarantee start/stop/notification order accordingly. (#8732)exporterhelper
: Log export errors when retry is not used by the component. (#8791)cmd/builder
: Add --verbose flag to loggo
subcommands output that are ran as part of a build (#8715)exporterhelper
: Remove internal goroutine loop for persistent queue (#8868)exporterhelper
: Simplify usage of storage client, avoid unnecessary allocations (#8830)exporterhelper
: Simplify logic in boundedMemoryQueue, use channels len/cap (#8829)
🧰 Bug fixes 🧰
exporterhelper
: fix bug with queue size and capacity metrics (#8682)obsreporttest
: split handler for otel vs oc test path in TestTelemetry (#8758)builder
: Fix featuregate late initialization (#4967)service
: Fix connector logger zap kind key (#8878)
API changes
🛑 Breaking changes 🛑
otelcol
: CollectorSettings.Factories now expects:func() (Factories, error)
(#8478)exporter/exporterhelper
: The experimental Request API is updated. (#7874)Request
interface now includes ItemsCount() method.RequestItemsCounter
is removed.- The following interfaces are added:
- Added an optional interface for handling errors that occur during request processing
RequestErrorHandler
. - Added a function to unmarshal bytes into a Request
RequestUnmarshaler
. - Added a function to marshal a Request into bytes
RequestMarshaler
- Added an optional interface for handling errors that occur during request processing
🚩 Deprecations 🚩
featuregate
: Deprecatefeaturegate.NewFlag
in favor offeaturegate.Registry
'sRegisterFlags
method (#8727)
💡 Enhancements 💡
featuregate
: Add validation for feature gates ID, URL and versions. (#8766)
Feature gates IDs are now explicitly restricted to ASCII alphanumerics and dots.