Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2024

This PR contains the following updates:

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

Release Notes

open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector/pdata)

v1.19.0

🛑 Breaking changes 🛑
  • internal/fanoutconsumer: Extract internal/fanoutconsumer as a separate go module (#​11441)
  • builder: Remove builder support to build old version, and the otelcol_version config (#​11405)
    User should remove this property from their config, to build older versions use older builders.
  • receiver: Make receivertest into its own module (#​11462)
  • builder: Remove deprecated flags from Builder (#​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)
💡 Enhancements 💡
  • mdatagen: Add otlp as supported distribution (#​11527)
  • batchprocessor: Move single shard batcher creation to the constructor (#​11594)
  • service: add support for using the otelzap bridge and emit logs using the OTel Go SDK (#​10544)
🧰 Bug fixes 🧰
  • service: ensure traces and logs emitted by the otel go SDK use the same resource information (#​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)
  • builder: Update builder default providers to lastest stable releases (#​11566)

v1.18.0

🛑 Breaking changes 🛑
  • consumer/consumererror: Extract consumer/consumererror as a separate go module (#​11440)
  • exporter/expotertest: Put expotertest into its own module (#​11461)
  • service: Remove stable gate component.UseLocalHostAsDefaultHost (#​11412)
🚩 Deprecations 🚩
  • processortest: Deprecated 'NewUnhealthyProcessorCreateSettings'. Use NewNopSettings instead. (#​11307)
💡 Enhancements 💡
  • mdatagen: Added generated_package_name config field to support custom generated package name. (#​11231)
  • mdatagen: Generate documentation for components with resource attributes only (#​10705)
  • confighttp: Adding support for lz4 compression into the project (#​9128)
  • service: Hide profiles support behind a feature gate while it remains alpha. (#​11477)
  • exporterhelper: Retry sender will fail fast when the context timeout is shorter than the next retry interval. (#​11183)
🧰 Bug fixes 🧰
  • cmd/builder: Fix default configuration for builder for httpprovider, httpsprovider, and yamlprovider. (#​11357)
  • processorhelper: Fix issue where in/out parameters were not recorded when error was returned from consumer. (#​11351)

v1.17.0

🛑 Breaking changes 🛑
  • service/telemetry: Change default metrics address to "localhost:8888" instead of ":8888" (#​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)
🚩 Deprecations 🚩
  • service/telemetry: Deprecate service::telemetry::metrics::address in favor of service::telemetry::metrics::readers. (#​11205)
  • processorhelper: Deprecate BuildProcessorMetricName as it's no longer needed since introduction of mdatagen (#​11302)
💡 Enhancements 💡
  • ocb: create docker images for OCB, per https://github.com/open-telemetry/opentelemetry-collector-releases/pull/671 (#​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)
  • httpsprovider: Mark the httpsprovider as stable. (#​11191)
  • httpprovider: Mark the httpprovider as stable. (#​11191)
  • yamlprovider: Mark the yamlprovider as stable. (#​11192)
  • confmap: Allow using any YAML structure as a string when loading configuration including time.Time formats (#​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)
  • cmd/builder: re-adds function to properly set and view version number of OpenTelemetry Collector Builder (ocb) binaries (#​11208)
  • pdata: Unmarshal Span and SpanLink flags from JSON (#​11267)

v1.16.0

🛑 Breaking changes 🛑
  • processorhelper: Update incoming/outgoing metrics to a single metric with a otel.signal attributes. (#​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)
  • config: Mark UseLocalHostAsDefaultHostfeatureGate as stable (#​11235)
🚩 Deprecations 🚩
  • processorhelper: deprecate accepted/refused/dropped metrics (#​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)
  • mdatagen: Add stability field to telemetry metrics, allowing the generated description to include a stability string. (#​11160)
  • confignet: Mark module as Stable. (#​9801)
  • confmap/provider/envprovider: Support default values when env var is empty (#​5228)
  • mdatagen: mdatagen validateMetrics() support validate metrics in telemetry.metric (#​10925)
  • service/telemetry: Mark useOtelWithSDKConfigurationForInternalTelemetry as stable (#​7532)
  • mdatagen: Use cobra for the command, add version flag (#​11196)
🧰 Bug fixes 🧰
  • service: Ensure process telemetry is registered when internal telemetry is configured with readers instead of an address. (#​11093)

  • mdatagen: Fix incorrect generation of metric tests with boolean attributes. (#​11169)

  • otelcol: Fix the Windows Event Log configuration when running the Collector as a Windows service. (#​5297, #​11051)

  • builder: Honor build_tags in config (#​11156)

  • builder: Fix version for providers in the default config (#​11123)

  • cmd/builder: Temporarily disable strict versioning checks (#​11129, #​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)
    This issue only affected loading the whole component config, loading parts of a component config from a different source was working correctly.

v1.15.0

🛑 Breaking changes 🛑
  • scraperhelper: Remove deprecated ObsReport, ObsReportSettings, NewObsReport types/funcs (#​11086)
  • confmap: Remove stable confmap.strictlyTypedInput gate (#​11008)
  • confmap: Removes stable confmap.unifyEnvVarExpansion feature gate. (#​11007)
  • ballastextension: Removes the deprecated ballastextension (#​10671)
  • service: Removes stable service.disableOpenCensusBridge feature gate (#​11009)
🚩 Deprecations 🚩
  • processorhelper: These funcs are not used anywhere, marking them deprecated. (#​11083)
🚀 New components 🚀
  • extension/experimental/storage: Move extension/experimental/storage into a separate module (#​11022)
💡 Enhancements 💡
  • configtelemetry: Add guidelines for each level of component telemetry (#​10286)

  • service: move useOtelWithSDKConfigurationForInternalTelemetry gate to beta (#​11091)

  • service: implement a no-op tracer provider that doesn't propagate the context (#​11026)
    The no-op tracer provider supported by the SDK incurs a memory cost of propagating the context no matter
    what. This is not needed if tracing is not enabled in the Collector. This implementation of the no-op tracer
    provider removes the need to allocate memory when tracing is disabled.

  • envprovider: Mark module as stable (#​10982)

  • fileprovider: Mark module as stable (#​10983)

  • processor: Add incoming and outgoing counts for processors using processorhelper. (#​10910)
    Any processor using the processorhelper package (this is most processors) will automatically report
    incoming and outgoing item counts. The new metrics are:

    • 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
🧰 Bug fixes 🧰
  • configgrpc: Change the value of max_recv_msg_size_mib from uint64 to int to avoid a case where misconfiguration caused an integer overflow. (#​10948)
  • exporterqueue: Fix a bug in persistent queue that Offer can becomes deadlocked when queue is almost full (#​11015)

v1.14.1

🧰 Bug fixes 🧰
  • mdatagen: Fix a missing import in the generated test file (#​10969)

v1.14.0

🛑 Breaking changes 🛑
  • all: Added support for go1.23, bumped the minimum version to 1.22 (#​10869)
  • otelcol: Remove deprecated ConfmapProvider interface. (#​10934)
  • confmap: Mark confmap.strictlyTypedInput as stable (#​10552)
💡 Enhancements 💡
  • exporter/otlp: Add batching option to otlp exporter (#​8122)
  • builder: Add a --skip-new-go-module flag to skip creating a module in the output directory. (#​9252)
  • component: Add TelemetrySettings.LeveledMeterProvider func to replace MetricsLevel in the near future (#​10931)
  • mdatagen: Add LeveledMeter method to mdatagen (#​10933)
  • service: Adds level configuration option to service::telemetry::trace to allow users to disable the default TracerProvider (#​10892)
    This replaces the feature gate service.noopTracerProvider introduced in v0.107.0
  • componentstatus: Add new Reporter interface to define how to report a status via a component.Host implementation (#​10852)
  • mdatagen: support using a different github project in mdatagen README issues list (#​10484)
  • mdatagen: Updates mdatagen's usage to output a complete command line example, including the metadata.yaml file. (#​10886)
  • extension: Add ModuleInfo to extension.Settings to allow extensions to access component go module information. (#​10876)
  • confmap: Mark module as stable (#​9379)
🧰 Bug fixes 🧰
  • batchprocessor: Update units for internal telemetry (#​10652)
  • confmap: Fix bug where an unset env var used with a non-string field resulted in a panic (#​10950)
  • service: Fix memory leaks during service package shutdown (#​9165)
  • mdatagen: Update generated telemetry template to only include context import when there are async metrics. (#​10883)
  • mdatagen: Fixed bug in which setting SkipLifecycle & SkipShutdown to true would result in a generated file with an unused import confmaptest (#​10866)
  • confmap: Use string representation for field types where all primitive types are strings. (#​10937)
  • otelcol: Preserve internal representation when unmarshaling component configs (#​10552)

v1.13.0

🛑 Breaking changes 🛑
  • service: Remove OpenCensus bridge completely, mark feature gate as stable. (#​10414)
  • confmap: Set the confmap.unifyEnvVarExpansion feature gate to Stable. Expansion of $FOO env vars is no longer supported. Use ${FOO} or ${env:FOO} instead. (#​10508)
  • service: Remove otelcol from Prometheus configuration. This means that any metric that isn't explicitly prefixed with otelcol_ no longer have that prefix. (#​9759)
💡 Enhancements 💡
  • mdatagen: export ScopeName in internal/metadata package (#​10845)
    This can be used by components that need to set their scope name manually. Will save component owners from having to store a variable, which may diverge from the scope name used by the component for emitting its own telemetry.

  • semconv: Add v1.26.0 semantic conventions package (#​10249, #​10829)

  • mdatagen: Expose a setting on tests::host to set up your own host initialization code (#​10765)
    Some receivers require a host that has additional capabilities such as exposing exporters.
    For those, we can expose a setting that allows them to place a different host in the generated code.

  • confmap: Allow using any YAML structure as a string when loading configuration. (#​10800)
    Previous to this change, slices could not be used as strings in configuration.

  • ocb: migrate build and release of ocb binaries to opentelemetry-collector-releases repository (#​10710)
    ocb binaries will now be released under open-telemetry/opentelemetry-collector-releases tagged as "cmd/builder/vX.XXX.X"

  • semconv: Add semantic conventions version v1.27.0 (#​10837)

  • client: Mark module as stable. (#​10775)

🧰 Bug fixes 🧰
  • configtelemetry: Add 10s read header timeout on the configtelemetry Prometheus HTTP server. (#​5699)

  • service: Allow users to disable the tracer provider via the feature gate service.noopTracerProvider (#​10858)
    The service is returning an instance of a SDK tracer provider regardless of whether there were any processors configured causing resources to be consumed unnecessarily.

  • processorhelper: Fix processor metrics not being reported initially with 0 values. (#​10855)

  • service: Implement the temporality_preference setting for internal telemetry exported via OTLP (#​10745)

  • configauth: Fix unmarshaling of authentication in HTTP servers. (#​10750)

  • confmap: If loading an invalid YAML string through a provider, use it verbatim instead of erroring out. (#​10759)
    This makes the ${env:ENV} syntax closer to how ${ENV} worked before unifying syntaxes.

  • component: Allow component names of up to 1024 characters in length. (#​10816)

  • confmap: Remove original string representation if invalid. (#​10787)


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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot requested a review from a team as a code owner November 14, 2024 13:21
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 14, 2024
@paul1r paul1r merged commit db9b863 into main Nov 14, 2024
64 checks passed
@paul1r paul1r deleted the deps-update/go.opentelemetry.io-collector-pdata-1.x branch November 14, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size/S

1 participant