grafana / mimir

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
https://grafana.com/oss/mimir/
GNU Affero General Public License v3.0
4.17k stars 535 forks source link

fix(deps): update module go.opentelemetry.io/collector/pdata to v1.20.0 (main) #10012

Closed renovate[bot] closed 12 hours ago

renovate[bot] commented 17 hours ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/collector/pdata v1.15.0 -> v1.20.0 age adoption passing confidence

Release Notes

open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector/pdata) ### [`v1.20.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v1200v01140) ##### 💡 Enhancements 💡 - `cmd/builder`: Allow for replacing of local Providers and Converters when building custom collector with ocb. ([#​11649](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11649)) Use the property `path` under `gomod` to replace an go module with a local folder in builder-config.yaml. Ex: providers: - gomod: module.url/my/custom/provider v1.2.3 path: /path/to/local/provider - `cmd/builder`: Allow configuring `confmap.Converter` components in ocb. ([#​11582](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11582)) If no converters are specified, there will be no converters added. Currently, the only published converter is `expandconverter` which is deprecated as of v0.107.0, but can still be added for testing purposes. To configure a custom converter, make sure your converter implements the converter interface and is published as a go module (or replaced locally if not published). You may then use the `converters` key in your OCB build manifest with a list of Go modules (and replaces as necessary) to include your converter. Please note that converters are order-dependent. The confmap will apply converters in order of which they are listed in your manifest if there is more than one. - `all`: shorten time period before removing an unmaintained component from 6 months to 3 months ([#​11664](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11664)) ##### 🧰 Bug fixes 🧰 - `all`: Updates dialer timeout section documentation in confignet README ([#​11685](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11685)) - `scraperhelper`: If the scraper shuts down, do not scrape first. ([#​11632](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11632)) When the scraper is shutting down, it currently will scrape at least once. With this change, upon receiving a shutdown order, the receiver's scraperhelper will exit immediately. ### [`v1.19.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v1190v01130) ##### 🛑 Breaking changes 🛑 - `internal/fanoutconsumer`: Extract internal/fanoutconsumer as a separate go module ([#​11441](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11441)) - `builder`: Remove builder support to build old version, and the otelcol_version config ([#​11405](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11405)) User should remove this property from their config, to build older versions use older builders. - `receiver`: Make receivertest into its own module ([#​11462](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11462)) - `builder`: Remove deprecated flags from Builder ([#​11576](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11576)) Here is the list of flags | --name, --description, --version, --otelcol-version, --go, --module - `internal/sharedcomponent`: Extract internal/sharedcomponent as a separate go module ([#​11442](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11442)) ##### 💡 Enhancements 💡 - `mdatagen`: Add otlp as supported distribution ([#​11527](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11527)) - `batchprocessor`: Move single shard batcher creation to the constructor ([#​11594](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11594)) - `service`: add support for using the otelzap bridge and emit logs using the OTel Go SDK ([#​10544](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/10544)) ##### 🧰 Bug fixes 🧰 - `service`: ensure traces and logs emitted by the otel go SDK use the same resource information ([#​11578](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11578)) - `config/configgrpc`: Patch for bug in the grpc-go NewClient that makes the way the hostname is resolved incompatible with the way proxy setting are applied. ([#​11537](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11537)) - `builder`: Update builder default providers to lastest stable releases ([#​11566](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11566)) ### [`v1.18.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v1180v01120) ##### 🛑 Breaking changes 🛑 - `consumer/consumererror`: Extract consumer/consumererror as a separate go module ([#​11440](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11440)) - `exporter/expotertest`: Put expotertest into its own module ([#​11461](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11461)) - `service`: Remove stable gate component.UseLocalHostAsDefaultHost ([#​11412](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11412)) ##### 🚩 Deprecations 🚩 - `processortest`: Deprecated 'NewUnhealthyProcessorCreateSettings'. Use NewNopSettings instead. ([#​11307](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11307)) ##### 💡 Enhancements 💡 - `mdatagen`: Added generated_package_name config field to support custom generated package name. ([#​11231](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11231)) - `mdatagen`: Generate documentation for components with resource attributes only ([#​10705](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/10705)) - `confighttp`: Adding support for lz4 compression into the project ([#​9128](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/9128)) - `service`: Hide profiles support behind a feature gate while it remains alpha. ([#​11477](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11477)) - `exporterhelper`: Retry sender will fail fast when the context timeout is shorter than the next retry interval. ([#​11183](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11183)) ##### 🧰 Bug fixes 🧰 - `cmd/builder`: Fix default configuration for builder for httpprovider, httpsprovider, and yamlprovider. ([#​11357](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11357)) - `processorhelper`: Fix issue where in/out parameters were not recorded when error was returned from consumer. ([#​11351](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11351)) ### [`v1.17.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v1170v01110) ##### 🛑 Breaking changes 🛑 - `service/telemetry`: Change default metrics address to "localhost:8888" instead of ":8888" ([#​11251](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11251)) This behavior can be disabled by disabling the feature gate 'telemetry.UseLocalHostAsDefaultMetricsAddress'. - `loggingexporter`: Removed the deprecated logging exporter. Use the debug exporter instead. ([#​11037](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11037)) ##### 🚩 Deprecations 🚩 - `service/telemetry`: Deprecate service::telemetry::metrics::address in favor of service::telemetry::metrics::readers. ([#​11205](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11205)) - `processorhelper`: Deprecate BuildProcessorMetricName as it's no longer needed since introduction of mdatagen ([#​11302](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11302)) ##### 💡 Enhancements 💡 - `ocb`: create docker images for OCB, per [https://github.com/open-telemetry/opentelemetry-collector-releases/pull/671](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/pull/671) ([#​5712](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/5712)) Adds standard Docker images for OCB to Dockerhub and GitHub, see hub.docker.com/r/otel/opentelemetry-collector-builder - `confighttp`: Snappy compression to lazy read for memory efficiency ([#​11177](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11177)) - `httpsprovider`: Mark the httpsprovider as stable. ([#​11191](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11191)) - `httpprovider`: Mark the httpprovider as stable. ([#​11191](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11191)) - `yamlprovider`: Mark the yamlprovider as stable. ([#​11192](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11192)) - `confmap`: Allow using any YAML structure as a string when loading configuration including time.Time formats ([#​10659](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/10659)) Previously, fields with time.Time formats could not be used as strings in configurations ##### 🧰 Bug fixes 🧰 - `processorhelper`: Fix data race condition, concurrent writes to the err variable, causes UB (Undefined Behavior) ([#​11350](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11350)) - `cmd/builder`: re-adds function to properly set and view version number of OpenTelemetry Collector Builder (ocb) binaries ([#​11208](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11208)) - `pdata`: Unmarshal Span and SpanLink flags from JSON ([#​11267](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11267)) ### [`v1.16.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v1160v01100) ##### 🛑 Breaking changes 🛑 - `processorhelper`: Update incoming/outgoing metrics to a single metric with a `otel.signal` attributes. ([#​11144](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11144)) The following metrics were added in the previous version - otelcol_processor_incoming_spans - otelcol_processor_outgoing_spans - otelcol_processor_incoming_metric_points - otelcol_processor_outgoing_metric_points - otelcol_processor_incoming_log_records - otelcol_processor_outgoing_log_records They are being replaced with the following to more closely align with OTEP 259: - otelcol_processor_incoming_items - otelcol_processor_outgoing_items - `processorhelper`: Remove deprecated `[Traces|Metrics|Logs]`Inserted funcs ([#​11151](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11151)) - `config`: Mark UseLocalHostAsDefaultHostfeatureGate as stable ([#​11235](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11235)) ##### 🚩 Deprecations 🚩 - `processorhelper`: deprecate accepted/refused/dropped metrics ([#​11201](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11201)) The following metrics are being deprecated as they were only used in a single processor: - `otelcol_processor_accepted_log_records` - `otelcol_processor_accepted_metric_points` - `otelcol_processor_accepted_spans` - `otelcol_processor_dropped_log_records` - `otelcol_processor_dropped_metric_points` - `otelcol_processor_dropped_spans` - `otelcol_processor_refused_log_records` - `otelcol_processor_refused_metric_points` - `otelcol_processor_refused_spans` ##### 💡 Enhancements 💡 - `pdata`: Add support to MoveTo for Map, allow avoiding copies ([#​11175](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11175)) - `mdatagen`: Add stability field to telemetry metrics, allowing the generated description to include a stability string. ([#​11160](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11160)) - `confignet`: Mark module as Stable. ([#​9801](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/9801)) - `confmap/provider/envprovider`: Support default values when env var is empty ([#​5228](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/5228)) - `mdatagen`: mdatagen `validateMetrics()` support validate metrics in `telemetry.metric` ([#​10925](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/10925)) - `service/telemetry`: Mark useOtelWithSDKConfigurationForInternalTelemetry as stable ([#​7532](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/7532)) - `mdatagen`: Use cobra for the command, add version flag ([#​11196](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11196)) ##### 🧰 Bug fixes 🧰 - `service`: Ensure process telemetry is registered when internal telemetry is configured with readers instead of an address. ([#​11093](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11093)) - `mdatagen`: Fix incorrect generation of metric tests with boolean attributes. ([#​11169](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11169)) - `otelcol`: Fix the Windows Event Log configuration when running the Collector as a Windows service. ([#​5297](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/5297), [#​11051](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11051)) - `builder`: Honor build_tags in config ([#​11156](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11156)) - `builder`: Fix version for providers in the default config ([#​11123](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11123)) - `cmd/builder`: Temporarily disable strict versioning checks ([#​11129](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11129), [#​11152](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11152)) The strict versioning check may be enabled by default in a future version once all configuration providers are stabilized. - `confmap`: Fix loading config of a component from a different source. ([#​11154](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11154)) This issue only affected loading the whole component config, loading parts of a component config from a different source was working correctly.

Configuration

📅 Schedule: Branch creation - "before 9am on Monday" (UTC), 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.



This PR was generated by Mend Renovate. View the repository job log.