Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update module go.opentelemetry.io/collector/consumer to v0…
….102.0 (#40) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [go.opentelemetry.io/collector/consumer](https://togithub.com/open-telemetry/opentelemetry-collector) | `v0.91.0` -> `v0.102.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2fconsumer/v0.102.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcollector%2fconsumer/v0.102.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcollector%2fconsumer/v0.91.0/v0.102.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2fconsumer/v0.91.0/v0.102.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector/consumer)</summary> ### [`v0.102.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v190v01020) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.101.0...v0.102.0) ##### 🛑 Breaking changes 🛑 - `envprovider`: Restricts Environment Variable names. Environment variable names must now be ASCII only and start with a letter or an underscore, and can only contain underscores, letters, or numbers. ([#​9531](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9531)) - `confighttp`: Apply MaxRequestBodySize to the result of a decompressed body ([#​10289](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10289)) When using compressed payloads, the Collector would verify only the size of the compressed payload. This change applies the same restriction to the decompressed content. As a security measure, a limit of 20 MiB was added, which makes this a breaking change. For most clients, this shouldn't be a problem, but if you often have payloads that decompress to more than 20 MiB, you might want to either configure your client to send smaller batches (recommended), or increase the limit using the MaxRequestBodySize option. ##### 💡 Enhancements 💡 - `mdatagen`: auto-generate utilities to test component telemetry ([#​19783](https://togithub.com/open-telemetry/opentelemetry-collector/issues/19783)) - `mdatagen`: support setting an AttributeSet for async instruments ([#​9674](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9674)) - `mdatagen`: support using telemetry level in telemetry builder ([#​10234](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10234)) This allows components to set the minimum level needed for them to produce telemetry. By default, this is set to configtelemetry.LevelBasic. If the telemetry level is below that minimum level, then the noop meter is used for metrics. - `mdatagen`: add support for bucket boundaries for histograms ([#​10218](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10218)) - `releases`: add documentation in how to verify the image signatures using cosign ([#​9610](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9610)) ##### 🧰 Bug fixes 🧰 - `batchprocessor`: ensure attributes are set on cardinality metadata metric ([#​9674](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9674)) - `batchprocessor`: Fixing processor_batch_metadata_cardinality which was broken in v0.101.0 ([#​10231](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10231)) - `batchprocessor`: respect telemetry level for all metrics ([#​10234](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10234)) - `exporterhelper`: Fix potential deadlocks in BatcherSender shutdown ([#​10255](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10255)) ### [`v0.101.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v180v01010) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.100.0...v0.101.0) ##### 💡 Enhancements 💡 - `mdatagen`: generate documentation for internal telemetry ([#​10170](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10170)) - `mdatagen`: add ability to use metadata.yaml to automatically generate instruments for components ([#​10054](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10054)) The `telemetry` section in metadata.yaml is used to generate instruments for components to measure telemetry about themselves. - `confmap`: Allow Converters to write logs during startup ([#​10135](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10135)) - `otelcol`: Enable logging during configuration resolution ([#​10056](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10056)) ##### 🧰 Bug fixes 🧰 - `mdatagen`: Run package tests when goleak is skipped ([#​10125](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10125)) ### [`v0.100.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v170v01000) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.99.0...v0.100.0) ##### 🛑 Breaking changes 🛑 - `service`: The `validate` sub-command no longer validates that each pipeline's type is the same as its component types ([#​10031](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10031)) ##### 💡 Enhancements 💡 - `semconv`: Add support for v1.25.0 semantic convention ([#​10072](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10072)) - `builder`: remove the need to go get a module to address ambiguous import paths ([#​10015](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10015)) - `pmetric`: Support parsing metric.metadata from OTLP JSON. ([#​10026](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10026)) ##### 🧰 Bug fixes 🧰 - `exporterhelper`: Fix enabled config option for batch sender ([#​10076](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10076)) ### [`v0.99.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v160v0990) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.98.0...v0.99.0) ##### 🛑 Breaking changes 🛑 - `builder`: Add strict version checking when using the builder. Add the temporary flag ` --skip-strict-versioning `for skipping this check. ([#​9896](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9896)) Strict version checking will error on major and minor version mismatches between the `otelcol_version` configured and the builder version or versions in the go.mod. This check can be temporarily disabled by using the `--skip-strict-versioning` flag. This flag will be removed in a future minor version. - `telemetry`: Distributed internal metrics across different levels. ([#​7890](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7890)) The internal metrics levels are updated along with reported metrics: - The default level is changed from `basic` to `normal`, which can be overridden with `service::telmetry::metrics::level` configuration. - Batch processor metrics are updated to be reported starting from `normal` level: - `processor_batch_batch_send_size` - `processor_batch_metadata_cardinality` - `processor_batch_timeout_trigger_send` - `processor_batch_size_trigger_send` - GRPC/HTTP server and client metrics are updated to be reported starting from `detailed` level: - http.client.\* metrics - http.server.\* metrics - rpc.server.\* metrics - rpc.client.\* metrics ##### 💡 Enhancements 💡 - `confighttp`: Disable concurrency in zstd compression ([#​8216](https://togithub.com/open-telemetry/opentelemetry-collector/issues/8216)) - `cmd/builder`: Allow configuring `confmap.Provider`s in the builder. ([#​4759](https://togithub.com/open-telemetry/opentelemetry-collector/issues/4759)) If no providers are specified, the defaults are used. The default providers are: env, file, http, https, and yaml. To configure providers, use the `providers` key in your OCB build manifest with a list of Go modules for your providers. The modules will work the same as other Collector components. - `mdatagen`: enable goleak tests by default via mdatagen ([#​9959](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9959)) - `cmd/mdatagen`: support excluding some metrics based on string and regexes in resource_attributes ([#​9661](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9661)) - `cmd/mdatagen`: Generate config and factory tests covering their requirements. ([#​9940](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9940)) The tests are moved from cmd/builder. - `confmap`: Add `ProviderSettings`, `ConverterSettings`, `ProviderFactories`, and `ConverterFactories` fields to `confmap.ResolverSettings` ([#​9516](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9516)) This allows configuring providers and converters, which are instantiated by `NewResolver` using the given factories. ##### 🧰 Bug fixes 🧰 - `exporter/otlp`: Allow DNS scheme to be used in endpoint ([#​4274](https://togithub.com/open-telemetry/opentelemetry-collector/issues/4274)) - `service`: fix record sampler configuration ([#​9968](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9968)) - `service`: ensure the tracer provider is configured via go.opentelemetry.io/contrib/config ([#​9967](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9967)) - `otlphttpexporter`: Fixes a bug that was preventing the otlp http exporter from propagating status. ([#​9892](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9892)) - `confmap`: Fix decoding negative configuration values into uints ([#​9060](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9060)) ### [`v0.98.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v150v0980) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.97.0...v0.98.0) ##### 🛑 Breaking changes 🛑 - `service`: emit internal collector metrics with \_ instead of / with OTLP export ([#​9774](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9774)) This is addressing an issue w/ the names of the metrics generated by the Collector for its internal metrics. Note that this change only impacts users that emit telemetry using OTLP, which is currently still in experimental support. The prometheus metrics already replaced `/` with `_` and they will do the same with `_`. ##### 💡 Enhancements 💡 - `mdatagen`: Adds unsupported platforms to the README header ([#​9794](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9794)) - `confmap`: Clarify the use of embedded structs to make unmarshaling composable ([#​7101](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7101)) - `nopexporter`: Promote the nopexporter to beta ([#​7316](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7316)) - `nopreceiver`: Promote the nopreceiver to beta ([#​7316](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7316)) - `otlpexporter`: Checks for port in the config validation for the otlpexporter ([#​9505](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9505)) - `service`: Validate pipeline type against component types ([#​8007](https://togithub.com/open-telemetry/opentelemetry-collector/issues/8007)) ##### 🧰 Bug fixes 🧰 - `configtls`: Fix issue where `IncludeSystemCACertsPool` was not consistently used between `ServerConfig` and `ClientConfig`. ([#​9835](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9835)) - `component`: Fix issue where the `components` command wasn't properly printing the component type. ([#​9856](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9856)) - `otelcol`: Fix issue where the `validate` command wasn't properly printing valid component type. ([#​9866](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9866)) - `receiver/otlp`: Fix bug where the otlp receiver did not properly respond with a retryable error code when possible for http ([#​9357](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9357)) ### [`v0.97.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v140v0970) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.96.0...v0.97.0) ##### 🛑 Breaking changes 🛑 - `telemetry`: Remove telemetry.useOtelForInternalMetrics stable feature gate ([#​9752](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9752)) ##### 🚀 New components 🚀 - `exporter/nop`: Add the `nopexporter` to serve as a placeholder exporter in a pipeline ([#​7316](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7316)) This is primarily useful for starting the Collector with only extensions enabled or to test Collector pipeline throughput. - `receiver/nop`: Add the `nopreceiver` to serve as a placeholder receiver in a pipeline ([#​7316](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7316)) This is primarily useful for starting the Collector with only extensions enabled. ##### 💡 Enhancements 💡 - `configtls`: Validates TLS min_version and max_version ([#​9475](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9475)) Introduces `Validate()` method in TLSSetting. - `configcompression`: Mark module as Stable. ([#​9571](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9571)) - `cmd/mdatagen`: Use go package name for the scope name by default and add an option to provide the scope name in metadata.yaml. ([#​9693](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9693)) - `cmd/mdatagen`: Generate the lifecycle tests for components by default. ([#​9683](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9683)) It's encouraged to have lifecycle tests for all components enadled, but they can be disabled if needed in metadata.yaml with `skip_lifecycle: true` and `skip_shutdown: true` under `tests` section. - `cmd/mdatagen`: optimize the mdatagen for the case like batchprocessor which use a common struct to implement consumer.Traces, consumer.Metrics, consumer.Logs in the meantime. ([#​9688](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9688)) ##### 🧰 Bug fixes 🧰 - `exporterhelper`: Fix persistent queue size backup on reads. ([#​9740](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9740)) - `processor/batch`: Prevent starting unnecessary goroutines. ([#​9739](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9739)) - `otlphttpexporter`: prevent error on empty response body when content type is application/json ([#​9666](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9666)) - `confmap`: confmap honors `Unmarshal` methods on config embedded structs. ([#​6671](https://togithub.com/open-telemetry/opentelemetry-collector/issues/6671)) - `otelcol`: Respect telemetry configuration when running as a Windows service ([#​5300](https://togithub.com/open-telemetry/opentelemetry-collector/issues/5300)) ### [`v0.96.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v130v0960) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.95.0...v0.96.0) ##### 🛑 Breaking changes 🛑 - `configgrpc`: Remove deprecated `GRPCClientSettings`, `GRPCServerSettings`, and `ServerConfig.ToListenerContext`. ([#​9616](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9616)) - `confighttp`: Remove deprecated `HTTPClientSettings`, `NewDefaultHTTPClientSettings`, and `CORSSettings`. ([#​9625](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9625)) - `confignet`: Removes deprecated `NetAddr` and `TCPAddr` ([#​9614](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9614)) ##### 💡 Enhancements 💡 - `configtls`: Add `include_system_ca_certs_pool` to configtls, allowing to load system certs and additional custom certs. ([#​7774](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7774)) - `otelcol`: Add `ConfigProviderSettings` to `CollectorSettings` ([#​4759](https://togithub.com/open-telemetry/opentelemetry-collector/issues/4759)) This allows passing a custom list of `confmap.Provider`s to `otelcol.NewCommand`. - `pdata`: Update to OTLP v1.1.0 ([#​9587](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9587)) Introduces Span and SpanLink flags. - `confmap`: Update mapstructure to use a maintained fork, github.com/go-viper/mapstructure/v2. ([#​9634](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9634)) [https://github.com/mitchellh/mapstructure/issues/349](https://togithub.com/mitchellh/mapstructure/issues/349)/349 for context. ##### 🧰 Bug fixes 🧰 - `configretry`: Allow max_elapsed_time to be set to 0 for indefinite retries ([#​9641](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9641)) - `client`: Make `Metadata.Get` thread safe ([#​9595](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9595)) ### [`v0.95.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v120v0950) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.94.1...v0.95.0) ##### 🛑 Breaking changes 🛑 - `all`: scope name for all generated Meter/Tracer funcs now includes full package name ([#​9494](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9494)) ##### 💡 Enhancements 💡 - `confighttp`: Adds support for Snappy decompression of HTTP requests. ([#​7632](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7632)) - `configretry`: Validate `max_elapsed_time`, ensure it is larger than `max_interval` and `initial_interval` respectively. ([#​9489](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9489)) - `configopaque`: Mark module as stable ([#​9167](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9167)) - `otlphttpexporter`: Add support for json content encoding when exporting telemetry ([#​6945](https://togithub.com/open-telemetry/opentelemetry-collector/issues/6945)) - `confmap/converter/expandconverter, confmap/provider/envprovider, confmap/provider/fileprovider, confmap/provider/httprovider, confmap/provider/httpsprovider, confmap/provider/yamlprovider`: Split confmap.Converter and confmap.Provider implementation packages out of confmap. ([#​4759](https://togithub.com/open-telemetry/opentelemetry-collector/issues/4759), [#​9460](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9460)) ### [`v0.94.1`](https://togithub.com/open-telemetry/opentelemetry-collector/releases/tag/v0.94.1) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.94.0...v0.94.1) This patch release [reverts](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9520) a dependency update that caused intermittent test failures. ### [`v0.94.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v110v0940) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.93.0...v0.94.0) ##### 🛑 Breaking changes 🛑 - `receiver/otlp`: Update gRPC code from `codes.InvalidArgument` to `codes.Internal` when a permanent error doesn't contain a gRPC status ([#​9415](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9415)) ##### 🚩 Deprecations 🚩 - `configgrpc`: Deprecate GRPCClientSettings, use ClientConfig instead ([#​6767](https://togithub.com/open-telemetry/opentelemetry-collector/issues/6767)) ##### 💡 Enhancements 💡 - `mdatagen`: Add a generated test that checks the config struct using `componenttest.CheckConfigStruct` ([#​9438](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9438)) - `component`: Add `component.UseLocalHostAsDefaultHost` feature gate that changes default endpoints from 0.0.0.0 to localhost ([#​8510](https://togithub.com/open-telemetry/opentelemetry-collector/issues/8510)) The only component in this repository affected by this is the OTLP receiver. - `confighttp`: Add support of Host header ([#​9395](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9395)) - `mdatagen`: Remove use of ReportFatalError in generated tests ([#​9439](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9439)) ##### 🧰 Bug fixes 🧰 - `service`: fix opencensus bridge configuration in periodic readers ([#​9361](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9361)) - `otlpreceiver`: Fix goroutine leak when GRPC server is started but HTTP server is unsuccessful ([#​9165](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9165)) - `otlpexporter`: PartialSuccess is treated as success, logged as warning. ([#​9243](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9243)) ### [`v0.93.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v0930) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.92.0...v0.93.0) ##### 🛑 Breaking changes 🛑 - `exporterhelper`: remove deprecated exporterhelper.RetrySettings and exporterhelper.NewDefaultRetrySettings ([#​9256](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9256)) - `configopaque`: configopaque.String implements `fmt.Stringer` and `fmt.GoStringer`, outputting \[REDACTED] when formatted with the %s, %q or %#v verbs`(#​9213) This may break applications that rely on the previous behavior of opaque strings with`fmt.Sprintf`to e.g. build URLs or headers. Explicitly cast the opaque string to a string before using it in`fmt.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](https://togithub.com/open-telemetry/opentelemetry-collector/issues/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](https://togithub.com/open-telemetry/opentelemetry-collector/issues/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](https://togithub.com/open-telemetry/opentelemetry-collector/issues/816)) - `exporters`: Cleanup log messages for export failures ([#​9219](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9219)) 1. Ensure an error message is logged every time and only once when data is dropped/rejected due to export failure. 2. 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. 3. 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](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9296)) - `otlpreceiver`: Ensure OTLP receiver handles consume errors correctly ([#​4335](https://togithub.com/open-telemetry/opentelemetry-collector/issues/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](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9328)) ### [`v0.92.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v101v0920) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.91.0...v0.92.0) ##### 🛑 Breaking changes 🛑 - `exporters/sending_queue`: Do not re-enqueue failed batches, rely on the retry_on_failure strategy instead. ([#​8382](https://togithub.com/open-telemetry/opentelemetry-collector/issues/8382)) The current re-enqueuing behavior is not obvious and cannot be configured. It takes place only for persistent queue and only if `retry_on_failure::enabled=true` even if `retry_on_failure` is a setting for a different backoff retry strategy. This change removes the re-enqueuing behavior. Consider increasing `retry_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 option `WithErrorUnused` enabled by default when unmarshaling configuration ([#​7102](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7102)) The option `WithErrorUnused` is now enabled by default, and a new option `WithIgnoreUnused` is introduced to ignore errors about unused fields. - `status`: Deprecate `ReportComponentStatus` in favor of `ReportStatus`. This new function does not return an error. ([#​9148](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9148)) ##### 🚩 Deprecations 🚩 - `connectortest`: Deprecate connectortest.New\[Metrics|Logs|Traces]Router in favour of connector.New\[Metrics|Logs|Traces]Router ([#​9095](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9095)) - `exporterhelper`: Deprecate exporterhelper.RetrySettings in favor of configretry.BackOffConfig ([#​9091](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9091)) - `extension/ballast`: Deprecate `memory_ballast` extension. ([#​8343](https://togithub.com/open-telemetry/opentelemetry-collector/issues/8343)) Use `GOMEMLIMIT` environment variable instead. - `connector`: Deprecate \[Metrics|Logs|Traces]Router in favour of \[Metrics|Logs|Traces]RouterAndConsumer ([#​9095](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9095)) ##### 💡 Enhancements 💡 - `exporterhelper`: Add RetrySettings validation function ([#​9089](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9089)) Validate that time.Duration, multiplier values in configretry are non-negative, and randomization_factor is between 0 and 1 - `service`: Enable `telemetry.useOtelForInternalMetrics` by updating the flag to beta ([#​7454](https://togithub.com/open-telemetry/opentelemetry-collector/issues/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](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9172)) - `semconv`: Generated Semantic conventions 1.22.0. ([#​8686](https://togithub.com/open-telemetry/opentelemetry-collector/issues/8686)) - `confignet`: Add `dialer_timeout` config option. ([#​9066](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9066)) - `processor/memory_limiter`: Update config validation errors ([#​9059](https://togithub.com/open-telemetry/opentelemetry-collector/issues/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](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9104)) ##### 🧰 Bug fixes 🧰 - `memorylimiterprocessor`: Fixed leaking goroutines from memorylimiterprocessor ([#​9099](https://togithub.com/open-telemetry/opentelemetry-collector/issues/9099)) - `cmd/otelcorecol`: Fix the code detecting if the collector is running as a service on Windows. ([#​7350](https://togithub.com/open-telemetry/opentelemetry-collector/issues/7350)) Removed the `NO_WINDOWS_SERVICE` environment variable given it is not needed anymore. - `otlpexporter`: remove dependency of otlphttpreceiver on otlpexporter ([#​6454](https://togithub.com/open-telemetry/opentelemetry-collector/issues/6454)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ymotongpoo/opentelemetry-collector-extra). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM4OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information