exporterhelper: remove deprecated exporterhelper.RetrySettings and exporterhelper.NewDefaultRetrySettings (#9256)
configopaque: configopaque.String implements fmt.Stringer and fmt.GoStringer, outputting [REDACTED] when formatted with the %s, %q or %#v verbs([#9213](https://github.com/open-telemetry/opentelemetry-collector/issues/9213)) This may break applications that rely on the previous behavior of opaque strings withfmt.Sprintfto e.g. build URLs or headers. Explicitly cast the opaque string to a string before using it infmt.Sprintf` to restore the previous behavior.
🚀 New components 🚀
extension/memory_limiter: Introduce a memory_limiter extension which receivers can use to reject incoming requests when collector doesn't have enough memory (#8632)
The extension has the same configuration interface and behavior as the existing memory_limiter processor, which potentially can be deprecated and removed in the future
💡 Enhancements 💡
configtls: add cipher_suites to configtls. (#8105)
Users can specify a list of cipher suites to pick from. If left blank, a safe default list is used.
service: mark telemetry.useOtelForInternalMetrics as stable (#816)
exporters: Cleanup log messages for export failures (#9219)
Ensure an error message is logged every time and only once when data is dropped/rejected due to export failure.
Update the wording. Specifically, don't use "dropped" term when an error is reported back to the pipeline.
Keep the "dropped" wording for failures happened after the enabled queue.
Properly report any error reported by a queue. For example, a persistent storage error must be reported as a storage error, not as "queue overflow".
🧰 Bug fixes 🧰
configgrpc: Update dependency to address a potential crash in the grpc instrumentation (#9296)
otlpreceiver: Ensure OTLP receiver handles consume errors correctly (#4335)
Make sure OTLP receiver returns correct status code and follows the receiver contract (gRPC)
zpagesextension: Remove mention of rpcz page from zpages extension (#9328)
Go API Changelog
🛑 Breaking changes 🛑
bug_fix: Implement encoding.BinaryMarshaler interface to prevent configopaque -> []byte -> string conversions from leaking the value (#9279)
configopaque: configopaque.String implements fmt.Stringer and fmt.GoStringer, outputting [REDACTED] when formatted with the %s, %q or %#v verbs([#9213](https://github.com/open-telemetry/opentelemetry-collector/issues/9213)) This may break applications that rely on the previous behavior of opaque strings withfmt.Sprintfto e.g. build URLs or headers. Explicitly cast the opaque string to a string before using it infmt.Sprintf` to restore the previous behavior.
configcompressions: Deprecate IsCompressed. Use CompressionType.IsCompressed instead instead. (#9435)
configcompression: Deprecate CompressionType, use Type instead. (#9416)
confighttp: Deprecate CORSSettings, use CORSConfig instead (#6767)
configgrpc: Deprecate ToListener function in favor of ToListenerContext (#9389)
configgrpc: Deprecate GRPCServerSettings, use ServerConfig instead (#6767)
confighttp: Deprecate HTTPClientSettings, use ClientConfig instead (#6767)
confighttp: Deprecate HTTPServerSettings, use ServerConfig instead (#6767)
confmap/provider: Deprecate .New in favor of .NewWithSettings for all core providers (#5615, #9162)
NewWithSettings now takes an empty confmap.ProviderSettings struct. This will be used to pass a logger in the future.
💡 Enhancements 💡
exporter/exporterhelper: Add API for enabling queue in the new exporter helpers. (#7874)
The following experimental API is introduced in exporter package:
exporterhelper.WithRequestQueue: a new exporter helper option for using a queue.
exporterqueue.Queue: an interface for queue implementations.
exporterqueue.Factory: a queue factory interface, implementations of this interface are intended to be used with WithRequestQueue option.
exporterqueue.Settings: queue factory settings.
exporterqueue.Config: common configuration for queue implementations.
exporterqueue.NewDefaultConfig: a function for creating a default queue configuration.
exporterqueue.NewMemoryQueueFactory: a new factory for creating a memory queue.
`exporterqueue.NewPersistentQueueFactory: a factory for creating a persistent queue.
featuregate: Add the featuregate.ErrAlreadyRegistered error, which is returned by featuregate.Registry's Register when adding a feature gate that is already registered. (#8622)
Use errors.Is to check for this error.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps go.opentelemetry.io/collector/component from 0.73.0 to 0.94.0.
Release notes
Sourced from go.opentelemetry.io/collector/component's releases.
... (truncated)
Changelog
Sourced from go.opentelemetry.io/collector/component's changelog.
... (truncated)
Commits
ca0eab2
[chore] Prepare release v1.1.0/v0.94.0 (#9501)d12e5bc
Update module go.opentelemetry.io/contrib/config to v0.3.0 (#9496)f1a574a
Update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp t...0ba282a
Add support ofHost
header (#9411)c1cb275
[builder] Close files immediately after writing is complete (#9466)9caec6c
Update opentelemetry-go monorepo (#9486)5c2fc22
Update module github.com/knadh/koanf/v2 to v2.0.2 (#9469)52c914d
Treat PartialSuccess as Success (#9260)db29b39
Update module github.com/shirou/gopsutil/v3 to v3.24.1 (#9471)f5a7315
[configcompression] RenameCompressionType
toType
(#9416)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show