Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update module go.opentelemetry.io/collector/pdata to v1.25.0 #134

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2024

This PR contains the following updates:

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

Release Notes

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

v1.25.0

🛑 Breaking changes 🛑
  • exporterhelper: Rename exporter span signal specific attributes (e.g. "sent_spans" / "send_failed_span") to "items.sent" / "items.failed". (#​12165)
  • cmd/mdatagen: Remove dead field telemetry::level (#​12144)
  • exporterhelper: Change exporter ID to be a Span level attribute instead on each event. (#​12164)
    This does not have an impact on the level of information emitted, but on the structure of the Span.
  • cmd/mdatagen: Remove level field from metrics definition (#​12145)
    This mechanism will be added back once a new views mechanism is implemented.
💡 Enhancements 💡
  • configtls: Allow users to mention their preferred curve types for ECDHE handshake (#​12174)
  • service: remove custom code and instead use config package to instantiate meter provider. (#​11611)
  • otelcol: Adds support for listing config providers in components command's output (#​11570)
  • general: Reduce memory allocations when loading configuration and parsing component names (#​11964)
🧰 Bug fixes 🧰
  • exporterhelper: Fix bug that the exporter with new batcher may have been marked as non mutation. (#​12239)
    Only affects users that manually turned on exporter.UsePullingBasedExporterQueueBatcher featuregate.

  • service: Preserve URL normalization logic that was present before. (#​12254)

  • confighttp: confighttp.ToServer now sets ErrorLog with a default logger backed by Zap (#​11820)

    This change ensures that the http.Server's ErrorLog is correctly set using Zap's logger at the error level, addressing the issue of error logs being printed using a different logger.

  • exporterhelper: Fix context propagation for DisabledBatcher (#​12231)

  • mdatagen: apply fieldalignment to generated code (#​12125)

  • mdatagen: Fix bug where Histograms were marked as not supporting temporaly aggregation (#​12168)

  • exporterhelper: Fix MergeSplit issue that ignores the initial message size. (#​12257)

  • service: Include validation errors from telemetry.Config when validating the service config (#​12100)
    Previously validation errors were only printed to the console

  • service-telemetry: pass the missing async error channel into service telemetry settings (#​11417)

v1.24.0

💡 Enhancements 💡
  • exporterhelper: Add blocking option to control queue behavior when full (#​12090)
  • debugexporter: Add EventName to debug exporter for Logs. EventName was added as top-level field in the LogRecord from 1.5.0 of proto definition. (#​11966)
  • confighttp: Added support for configuring compression levels. (#​10467)
    A new configuration option called CompressionParams has been added to confighttp. | This allows users to configure the compression levels for the confighttp client.
  • exporterhelper: Change the memory queue implementation to not pre-allocate capacity objects. (#​12070)
    This change improves memory usage of the collector under low utilization and is a prerequisite for supporting different other size limitations (number of items, bytes).
🧰 Bug fixes 🧰
  • mdatagen: apply fieldalignment to generated code (#​12121)
  • otelcoltest: Set DefaultScheme to env in the test ConfigProvider to replicate the default provider used by the Collector. (#​12066)

v1.23.0

🛑 Breaking changes 🛑
🧰 Bug fixes 🧰
  • internal/sharedcomponent: Fixed bug where sharedcomponent would use too much memory remembering all the previously reported statuses (#​11826)

v1.22.0

🛑 Breaking changes 🛑
  • pdata/pprofile: Remove deprecated Profile.EndTime and Profile.SetEndTime methods. (#​11796)
💡 Enhancements 💡
  • xconfighttp: Add WithOtelHTTPOptions to experimental module xconfighttp (#​11770)
🧰 Bug fixes 🧰
  • exporterhelper: Fix memory leak at exporter shutdown (#​11401)
  • sharedcomponent: Remove race-condition and cleanup locking (#​11819)

v1.21.0

🛑 Breaking changes 🛑
  • otelcol: Change all logged timestamps to ISO8601. (#​10543)
    This makes log timestamps human-readable (as opposed to epoch seconds in
    scientific notation), but may break users trying to parse logged lines in the
    old format.
  • pdata/pprofile: Upgrade pdata to opentelemetry-proto v1.4.0 (#​11722)
🚩 Deprecations 🚩
  • scraperhelper: Deprecate all Scraper helpers in scraperhelper (#​11732)
    Deprecate ScrapeFunc, ScraperOption, WithStart, WithShutdown in favor of equivalent funcs in scraper package.
💡 Enhancements 💡
  • exporterqueue: Introduce a feature gate exporter.UsePullingBasedExporterQueueBatcher to use the new pulling model in exporter queue batching. (#​8122, #​10368)
    If both queuing and batching is enabled for exporter, we now use a pulling model instead of a
    pushing model. num_consumer in queue configuration is now used to specify the maximum number of
    concurrent workers that are sending out the request.

  • service: label metrics as alpha to communicate their stability (#​11729)

  • consumer: Mark consumer as stable. (#​9046)

  • service: Add support for ca certificates in telemetry metrics otlp grpc exporter (#​11633)
    Before this change the Certificate value in config was silently ignored.

🧰 Bug fixes 🧰
  • service: ensure OTLP emitted logs respect severity (#​11718)
  • featuregate: Fix an unfriendly display message runtime error when featuregate is used to display command line usage. (#​11651)
  • profiles: Fix iteration over scope profiles while counting the samples. (#​11688)

v1.20.0

💡 Enhancements 💡
  • cmd/builder: Allow for replacing of local Providers and Converters when building custom collector with ocb. (#​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)
    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)

🧰 Bug fixes 🧰
  • all: Updates dialer timeout section documentation in confignet README (#​11685)
  • scraperhelper: If the scraper shuts down, do not scrape first. (#​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

🛑 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)

v1.12.0

🛑 Breaking changes 🛑
  • service: add service.disableOpenCensusBridge feature gate which is enabled by default to remove the dependency on OpenCensus (#​10414)
  • confmap: Promote confmap.strictlyTypedInput feature gate to beta. (#​10552)
    This feature gate changes the following:
    • Configurations relying on the implicit type casting behaviors listed on #​9532 will start to fail.
    • Configurations using URI expansion (i.e. field: ${env:ENV}) for string-typed fields will use the value passed in ENV verbatim without intermediate type casting.
💡 Enhancements 💡
  • configtls: Mark module as stable. (#​9377)
  • confmap: Remove extra closing parenthesis in sub-config error (#​10480)
  • configgrpc: Update the default load balancer strategy to round_robin (#​10319)
    To restore the behavior that was previously the default, set balancer_name to pick_first.
  • cmd/builder: Add go module info the builder generated code. (#​10570)
  • otelcol: Add go module to components subcommand. (#​10570)
  • confmap: Add explanation to errors related to confmap.strictlyTypedInput feature gate. (#​9532)
  • confmap: Allow using map[string]any values in string interpolation (#​10605)
🧰 Bug fixes 🧰
  • builder: provide context when a module in the config is missing its gomod value (#​10474)
  • confmap: Fixes issue where confmap could not escape $$ when confmap.unifyEnvVarExpansion is enabled. (#​10560)
  • mdatagen: fix generated comp test for extensions and unused imports in templates (#​10477)
  • otlpreceiver: Fixes a bug where the otlp receiver's http response was not properly translating grpc error codes to http status codes. (#​10574)
  • exporterhelper: Fix incorrect deduplication of otelcol_exporter_queue_size and otelcol_exporter_queue_capacity metrics if multiple exporters are used. (#​10444)
  • service/telemetry: Add ability to set service.name for spans emitted by the Collector (#​10489)
  • internal/localhostgate: Correctly log info message when component.UseLocalHostAsDefaultHost is enabled (#​8510)

v1.11.0

This release includes 2 very important breaking changes.

  1. The otlpreceiver will now use localhost by default instead of 0.0.0.0. This may break the receiver in containerized environments like Kubernetes. If you depend on 0.0.0.0 disable the component.UseLocalHostAsDefaultHost feature gate or explicitly set the endpoint to 0.0.0.0.
  2. Expansion of BASH-style environment variables, such as $FOO will no longer be supported by default. If you depend on this syntax, disable the confmap.unifyEnvVarExpansion feature gate, but know that the feature will be removed in the future in favor of ${env:FOO}.
🛑 Breaking changes 🛑
  • filter: Remove deprecated filter.CombinedFilter (#​10348)
  • otelcol: By default, otelcol.NewCommand and otelcol.NewCommandMustSetProvider will set the DefaultScheme to env. (#​10435)
  • expandconverter: By default expandconverter will now error if it is about to expand $FOO syntax. Update configuration to use ${env:FOO} instead or disable the confmap.unifyEnvVarExpansion feature gate. (#​10435)
  • otlpreceiver: Switch to localhost as the default for all endpoints. (#​8510)
    Disable the component.UseLocalHostAsDefaultHost feature gate to temporarily get the previous default.
💡 Enhancements 💡
  • confighttp: Add support for cookies in HTTP clients with cookies::enabled. (#​10175)
    The method confighttp.ToClient will return a client with a cookiejar.Jar which will reuse cookies from server responses in subsequent requests.
  • exporter/debug: In normal verbosity, display one line of text for each telemetry record (log, data point, span) (#​7806)
  • exporter/debug: Add option use_internal_logger (#​10226)
  • configretry: Mark module as stable. (#​10279)
  • debugexporter: Print Span.TraceState() when present. (#​10421)
    Enables viewing sampling threshold information (as by OTEP 235 samplers).
  • processorhelper: Add "inserted" metrics for processors. (#​10353)
    This includes the following metrics for processors:
    • processor_inserted_spans
    • processor_inserted_metric_points
    • processor_inserted_log_records
🧰 Bug fixes 🧰
  • otlpexporter: Update validation to support both dns:// and dns:/// (#​10449)
  • service: Fixed a bug that caused otel-collector to fail to start with ipv6 metrics endpoint service telemetry. (#​10011)

v1.10.0

🛑 Breaking changes 🛑
  • exporter/debug: Disable sampling by default (#​9921)
    To restore the behavior that was previously the default, set sampling_thereafter to 500.
💡 Enhancements 💡
  • cmd/builder: Allow setting otelcol.CollectorSettings.ResolverSettings.DefaultScheme via the builder's conf_resolver.default_uri_scheme configuration option (#​10296)
  • mdatagen: add support for optional internal metrics (#​10316)
  • otelcol/expandconverter: Add confmap.unifyEnvVarExpansion feature gate to allow enabling Collector/Configuration SIG environment variable expansion rules. (#​10391)
    When enabled, this feature gate will:
  • confmap: Add confmap.unifyEnvVarExpansion feature gate to allow enabling Collector/Configuration SIG environment variable expansion rules. (#​10259)
    When enabled, this feature gate will:
  • confighttp: Allow the compression list to be overridden (#​10295)
    Allows Collector administrators to control which compression algorithms to enable for HTTP-based receivers.
  • configgrpc: Revert the zstd compression for gRPC to the third-party library we were using previously. (#​10394)
    We switched back to our compression logic for zstd when a CVE was found on the third-party library we were using. Now that the third-party library has been fixed, we can revert to that one. For end-users, this has no practical effect. The reproducers for the CVE were tested against this patch, confirming we are not reintroducing the bugs.
  • confmap: Adds alpha confmap.strictlyTypedInput feature gate that enables strict type checks during configuration resolution (#​9532)
    When enabled, the configuration resolution system will:
    • Stop doing most kinds of implicit type casting when resolving configuration values
    • Use the original string representation of configuration values if the ${} syntax is used in inline position
  • confighttp: Use confighttp.ServerConfig as part of zpagesextension. See server configuration options. (#​9368)
🧰 Bug fixes 🧰
  • exporterhelper: Fix potential deadlock in the batch sender (#​10315)
  • expandconverter: Fix bug where an warning was logged incorrectly. (#​10392)
  • exporterhelper: Fix a bug when the retry and timeout logic was not applied with enabled batching. (#​10166)
  • exporterhelper: Fix a bug where an unstarted batch_sender exporter hangs on shutdown (#​10306)
  • exporterhelper: Fix small batch due to unfavorable goroutine scheduling in batch sender (#​9952)
  • confmap: Fix issue where structs with only yaml tags were not marshaled correctly. (#​10282)

v1.9.0

This release addresses GHSA-c74f-6mfw-mm4v for confighttp.

🛑 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)
  • confighttp: Apply MaxRequestBodySize to the result of a decompressed body. This addresses GHSA-c74f-6mfw-mm4v for confighttp (#​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)
  • mdatagen: support setting an AttributeSet for async instruments (#​9674)
  • mdatagen: support using telemetry level in telemetry builder (#​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)
  • releases: add documentation in how to verify the image signatures using cosign (#​9610)
🧰 Bug fixes 🧰
  • batchprocessor: ensure attributes are set on cardinality metadata metric (#​9674)
  • batchprocessor: Fixing processor_batch_metadata_cardinality which was broken in v0.101.0 (#​10231)
  • batchprocessor: respect telemetry level for all metrics (#​10234)
  • exporterhelper: Fix potential deadlocks in BatcherSender shutdown (#​10255)

v1.8.0

💡 Enhancements 💡
  • mdatagen: generate documentation for internal telemetry (#​10170)

  • mdatagen: add ability to use metadata.yaml to automatically generate instruments for components (#​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)

  • otelcol: Enable logging during configuration resolution (#​10056)

🧰 Bug fixes 🧰
  • mdatagen: Run package tests when goleak is skipped (#​10125)

v1.7.0

🛑 Breaking changes 🛑
  • service: The validate sub-command no longer validates that each pipeline's type is the same as its component types (#​10031)
💡 Enhancements 💡
  • semconv: Add support for v1.25.0 semantic convention (#​10072)
  • builder: remove the need to go get a module to address ambiguous import paths (#​10015)
  • pmetric: Support parsing metric.metadata from OTLP JSON. (#​10026)
🧰 Bug fixes 🧰
  • exporterhelper: Fix enabled config option for batch sender (#​10076)

v1.6.0

🛑 Breaking changes 🛑
  • builder: Add strict version checking when using the builder. Add the temporary flag --skip-strict-versioning for skipping this check. (#​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)
    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)

  • cmd/builder: Allow configuring confmap.Providers in the builder. (#​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)

  • cmd/mdatagen: support excluding some metrics based on string and regexes in resource_attributes (#​9661)

  • cmd/mdatagen: Generate config and factory tests covering their requirements. (#​9940)
    The tests are


Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 added dependencies Upgrade or downgrade of project dependencies. go no-stale This issue or PR is exempted from the stable bot. labels Feb 7, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from d51baa3 to aec4a97 Compare February 7, 2024 03:56
@codecov-commenter
Copy link

codecov-commenter commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0aa2062) 73.39% compared to head (021430c) 73.39%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #134   +/-   ##
=======================================
  Coverage   73.39%   73.39%           
=======================================
  Files           2        2           
  Lines         109      109           
=======================================
  Hits           80       80           
  Misses         20       20           
  Partials        9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch 3 times, most recently from 519aa23 to a95b99c Compare February 12, 2024 04:43
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch 3 times, most recently from 139668f to 021430c Compare February 19, 2024 06:45
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.1.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.2.0 Feb 20, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch 3 times, most recently from 3882291 to 6836fe2 Compare February 27, 2024 03:43
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.2.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.3.0 Mar 4, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch 2 times, most recently from f0d1c41 to 6e6b7f0 Compare March 5, 2024 03:20
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.3.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.4.0 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from 6e6b7f0 to 47a3d21 Compare March 25, 2024 20:07
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from 47a3d21 to d01b25f Compare April 11, 2024 02:40
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.4.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.5.0 Apr 11, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from d01b25f to 6904458 Compare April 22, 2024 22:49
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.5.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.6.0 Apr 22, 2024
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.6.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.7.0 May 6, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch 2 times, most recently from 4798b10 to e17d685 Compare May 9, 2024 10:00
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from e17d685 to 16583f3 Compare May 21, 2024 23:49
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.7.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.8.0 May 21, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from b297022 to ad4f015 Compare July 16, 2024 18:29
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.11.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.12.0 Jul 16, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from ad4f015 to c209c9d Compare August 13, 2024 03:17
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.12.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.13.0 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from c209c9d to ae1d1e9 Compare August 27, 2024 19:35
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.13.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.14.1 Aug 27, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from ae1d1e9 to 6f70f84 Compare September 10, 2024 02:11
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.14.1 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.15.0 Sep 10, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from 6f70f84 to 9e2ce59 Compare September 23, 2024 21:27
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.15.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.16.0 Sep 23, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from 9e2ce59 to dba0e2d Compare October 4, 2024 10:55
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.16.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.17.0 Oct 4, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from dba0e2d to aab217b Compare October 23, 2024 00:22
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.17.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.18.0 Oct 23, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from aab217b to 8e9f76a Compare November 5, 2024 22:36
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.18.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.19.0 Nov 5, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch 2 times, most recently from b659404 to ed9450d Compare November 18, 2024 21:06
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.19.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.20.0 Nov 18, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from ed9450d to 9a758e2 Compare December 4, 2024 04:12
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.20.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.21.0 Dec 4, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from 9a758e2 to 484b99d Compare December 17, 2024 02:18
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.21.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.22.0 Dec 17, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from 484b99d to 3923fa1 Compare January 8, 2025 00:34
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.22.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.23.0 Jan 8, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from 3923fa1 to 212db8e Compare January 21, 2025 01:41
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.23.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.24.0 Jan 21, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-pdata-1.x branch from 212db8e to d94ef4f Compare February 4, 2025 09:45
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.24.0 ⬆️ Update module go.opentelemetry.io/collector/pdata to v1.25.0 Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Upgrade or downgrade of project dependencies. go no-stale This issue or PR is exempted from the stable bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant