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/confmap to v0.107.0 #121

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/collector/confmap v0.91.0 -> v0.107.0 age adoption passing confidence

Release Notes

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

v0.107.0

Compare Source

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

v0.106.1

Compare Source

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

v0.106.0

Compare Source

🛑 Breaking changes 🛑
  • service: Update all metrics to include otelcol_ prefix to ensure consistency across OTLP and Prometheus metrics (#​9759)
    This change is marked as a breaking change as anyone that was using OTLP for metrics will
    see the new prefix which was not present before. Prometheus generated metrics remain
    unchanged.

  • confighttp: Delete ClientConfig.CustomRoundTripper (#​8627)
    Set (*http.Client).Transport on the *http.Client returned from ToClient to configure this.

  • confmap: When passing configuration for a string field using any provider, use the verbatim string representation as the value. (#​10605, #​10405)
    This matches the behavior of ${ENV} syntax prior to the promotion of the confmap.unifyEnvVarExpansion feature gate
    to beta. It changes the behavior of the ${env:ENV} syntax with escaped strings.

  • component: Adds restrictions on the character set for component.ID name. (#​10673)

  • processor/memorylimiter: The memory limiter processor will no longer account for ballast size. (#​10696)
    If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.

  • extension/memorylimiter: The memory limiter extension will no longer account for ballast size. (#​10696)
    If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.

  • service: The service will no longer be able to get a ballast size from the deprecated ballast extension. (#​10696)
    If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.

🚀 New components 🚀
  • client: Create a new go module go.opentelemetry.io/collector/client (#​9804)
    This module contains generic representations of clients connecting to different receivers.
💡 Enhancements 💡
  • exporterhelper: Add data_type attribute to otelcol_exporter_queue_size metric to report the type of data being processed. (#​9943)
  • confighttp: Add option to include query params in auth context (#​4806)
  • configgrpc: gRPC auth errors now return gRPC status code UNAUTHENTICATED (16) (#​7646)
  • httpprovider, httpsprovider: Validate URIs in HTTP and HTTPS providers before fetching. (#​10468)
🧰 Bug fixes 🧰
  • processorhelper: update units for internal telemetry (#​10647)
  • confmap: Increase the amount of recursion and URI expansions allowed in a single line (#​10712)
  • exporterhelper: There is no guarantee that after the exporterhelper sends the plog/pmetric/ptrace data downstream that the data won't be mutated in some way. (e.g by the batch_sender) This mutation could result in the proceeding call to req.ItemsCount() to provide inaccurate information to be logged. (#​10033)
  • exporterhelper: Update units for internal telemetry (#​10648)
  • receiverhelper: Update units for internal telemetry (#​10650)
  • scraperhelper: Update units for internal telemetry (#​10649)
  • service: Use Command/Version to populate service name/version attributes (#​10644)

v0.105.0

Compare Source

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

v0.104.0

Compare Source

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)

v0.103.0

Compare Source

🛑 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 [https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/confighttp/README.md#server-configuration]\(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)

v0.102.1

Compare Source

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

🧰 Bug fixes 🧰
  • configrpc: Use own compressors for zstd. Before this change, the zstd compressor we used didn't respect the max message size. This addresses GHSA-c74f-6mfw-mm4v for configgrpc (#​10323)

v0.102.0

Compare Source

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)

v0.101.0

Compare Source

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

v0.100.0

Compare Source

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

v0.99.0

Compare Source

🛑 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 moved from cmd/builder.

  • confmap: Add ProviderSettings, ConverterSettings, ProviderFactories, and ConverterFactories fields to confmap.ResolverSettings (#​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)
  • service: fix record sampler configuration (#​9968)
  • service: ensure the tracer provider is configured via go.opentelemetry.io/contrib/config (#​9967)
  • otlphttpexporter: Fixes a bug that was preventing the otlp http exporter from propagating status. (#​9892)
  • confmap: Fix decoding negative configuration values into uints (#​9060)

v0.98.0

Compare Source

🛑 Breaking changes 🛑
  • service: emit internal collector metrics with _ instead of / with OTLP export (#​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)
  • confmap: Clarify the use of embedded structs to make unmarshaling composable (#​7101)
  • nopexporter: Promote the nopexporter to beta (#​7316)
  • nopreceiver: Promote the nopreceiver to beta (#​7316)
  • otlpexporter: Checks for port in the config validation for the otlpexporter (#​9505)
  • service: Validate pipeline type against component types (#​8007)
🧰 Bug fixes 🧰
  • configtls: Fix issue where IncludeSystemCACertsPool was not consistently used between ServerConfig and ClientConfig. (#​9835)
  • component: Fix issue where the components command wasn't properly printing the component type. (#​9856)
  • otelcol: Fix issue where the validate command wasn't properly printing valid component type. (#​9866)
  • receiver/otlp: Fix bug where the otlp receiver did not properly respond with a retryable error code when possible for http (#​9357)

v0.97.0

Compare Source

🛑 Breaking changes 🛑
  • telemetry: Remove telemetry.useOtelForInternalMetrics stable feature gate (#​9752)
🚀 New components 🚀
  • exporter/nop: Add the nopexporter to serve as a placeholder exporter in a pipeline (#​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)
    This is primarily useful for starting the Collector with only extensions enabled.

💡 Enhancements 💡
  • configtls: Validates TLS min_version and max_version (#​9475)
    Introduces Validate() method in TLSSetting.

  • configcompression: Mark module as Stable. (#​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)

  • cmd/mdatagen: Generate the lifecycle tests for components by default. (#​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)

🧰 Bug fixes 🧰
  • exporterhelper: Fix persistent queue size backup on reads. (#​9740)
  • processor/batch: Prevent starting unnecessary goroutines. (#​9739)
  • otlphttpexporter: prevent error on empty response body when content type is application/json (#​9666)
  • confmap: confmap honors Unmarshal methods on config embedded structs. (#​6671)
  • otelcol: Respect telemetry configuration when running as a Windows service (#​5300)

v0.96.0

Compare Source

🛑 Breaking changes 🛑
  • configgrpc: Remove deprecated GRPCClientSettings, GRPCServerSettings, and ServerConfig.ToListenerContext. (#​9616)
  • confighttp: Remove deprecated HTTPClientSettings, NewDefaultHTTPClientSettings, and CORSSettings. (#​9625)
  • confignet: Removes deprecated NetAddr and TCPAddr (#​9614)
💡 Enhancements 💡
  • configtls: Add include_system_ca_certs_pool to configtls, allowing to load system certs and additional custom certs. (#​7774)
  • otelcol: Add ConfigProviderSettings to CollectorSettings (#​4759)
    This allows passing a custom list of confmap.Providers to otelcol.NewCommand.
  • pdata: Update to OTLP v1.1.0 (#​9587)
    Introduces Span and SpanLink flags.
  • confmap: Update mapstructure to use a maintained fork, github.com/go-viper/mapstructure/v2. (#​9634)
    https://github.com/mitchellh/mapstructure/issues/349/349 for context.
🧰 Bug fixes 🧰
  • configretry: Allow max_elapsed_time to be set to 0 for indefinite retries (#​9641)
  • client: Make Metadata.Get thread safe (#​9595)

v0.95.0

Compare Source

🛑 Breaking changes 🛑
  • all: scope name for all generated Meter/Tracer funcs now includes full package name (#​9494)
💡 Enhancements 💡
  • confighttp: Adds support for Snappy decompression of HTTP requests. (#​7632)
  • configretry: Validate max_elapsed_time, ensure it is larger than max_interval and initial_interval respectively. (#​9489)
  • configopaque: Mark module as stable (#​9167)
  • otlphttpexporter: Add support for json content encoding when exporting telemetry (#​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, #​9460)

v0.94.1

Compare Source

This patch release reverts a dependency update that caused intermittent test failures.

v0.94.0

Compare Source

🛑 Breaking changes 🛑
  • receiver/otlp: Update gRPC code from codes.InvalidArgument to codes.Internal when a permanent error doesn't contain a gRPC status (#​9415)
🚩 Deprecations 🚩
  • configgrpc: Deprecate GRPCClientSettings, use ClientConfig instead (#​6767)
💡 Enhancements 💡
  • mdatagen: Add a generated test that checks the config struct using componenttest.CheckConfigStruct (#​9438)

  • component: Add component.UseLocalHostAsDefaultHost feature gate that changes default endpoints from 0.0.0.0 to localhost (#​8510)
    The only component in this repository affected by this is the OTLP receiver.

  • confighttp: Add support of Host header (#​9395)

  • mdatagen: Remove use of ReportFatalError in generated tests (#​9439)

🧰 Bug fixes 🧰
  • service: fix opencensus bridge configuration in periodic readers (#​9361)
  • otlpreceiver: Fix goroutine leak when GRPC server is started but HTTP server is unsuccessful (#​9165)
  • otlpexporter: PartialSuccess is treated as success, logged as warning. (#​9243)

v0.93.0

Compare Source

🛑 Breaking changes 🛑
  • exporterhelper: remove deprecated exporterhelper.RetrySettings and exporterhelper.NewDefaultRetrySettings (#​9256)
  • configopaque: configopaque.String implements fmt.Stringer and fmt.GoStringer, outputting [REDACTED] when formatted with the %s, %q or %#v verbs(#​9213) This may break applications that rely on the previous behavior of opaque strings withfmt.Sprintfto e.g. build URLs or headers. Explicitly cast the opaque string to a string before using it infmt.Sprintf` to restore the previous behavior.
🚀 New components 🚀
  • extension/memory_limiter: Introduce a memory_limiter extension which receivers can use to reject incoming requests when collector doesn't have enough memory (#​8632)
    The extension has the same configuration interface and behavior as the existing memory_limiter processor, which potentially can be deprecated and removed in the future
💡 Enhancements 💡
  • configtls: add cipher_suites to configtls. (#​8105)
    Users can specify a list of cipher suites to pick from. If left blank, a safe default list is used.

  • service: mark telemetry.useOtelForInternalMetrics as stable (#​816)

  • exporters: Cleanup log messages for export failures (#​9219)

    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)
  • otlpreceiver: Ensure OTLP receiver handles consume errors correctly (#​4335)
    Make sure OTLP receiver returns correct status code and follows the receiver contract (gRPC)
  • zpagesextension: Remove mention of rpcz page from zpages extension (#​9328)

v0.92.0

Compare Source

🛑 Breaking changes 🛑
  • exporters/sending_queue: Do not re-enqueue failed batches, rely on the retry_on_failure strategy instead. (#​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)
    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)

🚩 Deprecations 🚩
  • connectortest: Deprecate connectortest.New[Metrics|Logs|Traces]Router in favour of connector.New[Metrics|Logs|Traces]Router (#​9095)

  • exporterhelper: Deprecate exporterhelper.RetrySettings in favor of configretry.BackOffConfig (#​9091)

  • extension/ballast: Deprecate memory_ballast extension. (#​8343)
    Use GOMEMLIMIT environment variable instead.

  • connector: Deprecate [Metrics|Logs|Traces]Router in favour of [Metrics|Logs|Traces]RouterAndConsumer (#​9095)

💡 Enhancements 💡
  • exporterhelper: Add RetrySettings validation function (#​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)
    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)

  • semconv: Generated Semantic conventions 1.22.0. (#​8686)

  • confignet: Add dialer_timeout config option. (#​9066)

  • processor/memory_limiter: Update config validation errors (#​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)

🧰 Bug fixes 🧰
  • memorylimiterprocessor: Fixed leaking goroutines from memorylimiterprocessor (#​9099)
  • cmd/otelcorecol: Fix the code detecting if the collector is running as a service on Windows. (#​7350)
    Removed the NO_WINDOWS_SERVICE environment variable given it is not needed anymore.
  • otlpexporter: remove dependency of otlphttpreceiver on otlpexporter (#​6454)

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 Jan 11, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #121   +/-   ##
=======================================
  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 changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.92.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.93.0 Jan 24, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch 7 times, most recently from 9141e47 to d9c79b4 Compare January 31, 2024 04:28
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch 3 times, most recently from cd076ff to 5c75e52 Compare February 6, 2024 07:38
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.93.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.94.0 Feb 7, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch 3 times, most recently from ccdbc95 to 65721ec Compare February 8, 2024 00:29
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.94.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.94.1 Feb 8, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch 3 times, most recently from 1b4ad75 to d3c3aea Compare February 12, 2024 04:43
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch 3 times, most recently from c424925 to 7180682 Compare February 19, 2024 06:45
Copy link

sonarcloud bot commented Feb 19, 2024

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 force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 7180682 to f522b4a Compare February 20, 2024 18:37
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.94.1 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.95.0 Feb 20, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from f522b4a to ecd820d Compare February 26, 2024 04:05
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.96.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.97.0 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 0842442 to 82bd58f Compare April 11, 2024 02:40
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.97.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.98.0 Apr 11, 2024
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.98.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.99.0 Apr 22, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 82bd58f to df77bf8 Compare April 22, 2024 22:49
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from df77bf8 to df08717 Compare May 6, 2024 19:00
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.99.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.100.0 May 6, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from df08717 to 2a610a7 Compare May 9, 2024 09:59
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 2a610a7 to 17df9a6 Compare May 21, 2024 23:49
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.100.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.101.0 May 21, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 17df9a6 to d77ac80 Compare June 4, 2024 11:31
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.101.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.102.0 Jun 4, 2024
Copy link
Contributor Author

renovate bot commented Jun 4, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.19 -> 1.23.1
github.com/stretchr/testify v1.8.4 -> v1.9.0
github.com/hashicorp/go-version v1.6.0 -> v1.7.0
github.com/knadh/koanf/v2 v2.0.1 -> v2.1.1
go.opentelemetry.io/collector/featuregate v1.0.0 -> v1.13.0
go.uber.org/zap v1.26.0 -> v1.27.0

@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from d77ac80 to d19bbb6 Compare June 5, 2024 17:40
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.102.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.102.1 Jun 5, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from d19bbb6 to 9ecb1d1 Compare June 18, 2024 16:11
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.102.1 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.103.0 Jun 18, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 9ecb1d1 to 4f45426 Compare July 1, 2024 22:33
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.103.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.104.0 Jul 1, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch 2 times, most recently from 562410f to 3a00c20 Compare July 16, 2024 18:29
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.104.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.105.0 Jul 16, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 3a00c20 to d0a6cc6 Compare July 29, 2024 21:34
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.105.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.106.0 Jul 29, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from d0a6cc6 to 36bd8e2 Compare July 30, 2024 19:31
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.106.0 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.106.1 Jul 30, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 36bd8e2 to 643b5e2 Compare August 13, 2024 03:17
@renovate renovate bot changed the title ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.106.1 ⬆️ Update module go.opentelemetry.io/collector/confmap to v0.107.0 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-confmap-0.x branch from 643b5e2 to c8a439c Compare September 11, 2024 15:17
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