Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2024

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/collector/connector v0.93.0 -> v0.141.0 age confidence

Release Notes

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

v0.141.0

Compare Source

🛑 Breaking changes 🛑
  • pkg/config/confighttp: Use configoptional.Optional for confighttp.ClientConfig.Cookies field (#​14021)
💡 Enhancements 💡
  • pkg/config/confighttp: Setting compression_algorithms to an empty list now disables automatic decompression, ignoring Content-Encoding (#​14131)
  • pkg/service: Update semantic conventions from internal telemetry to v1.37.0 (#​14232)
  • pkg/xscraper: Implement xscraper for Profiles. (#​13915)
🧰 Bug fixes 🧰
  • pkg/config/configoptional: Ensure that configoptional.None values resulting from unmarshaling are equivalent to configoptional.Optional zero value. (#​14218)

v0.140.0

Compare Source

💡 Enhancements 💡
  • cmd/mdatagen: metadata.yaml now supports an optional entities section to organize resource attributes into logical entities with identity and description attributes (#​14051)
    When entities are defined, mdatagen generates AssociateWith{EntityType}() methods on ResourceBuilder
    that associate resources with entity types using the entity refs API. The entities section is backward
    compatible - existing metadata.yaml files without entities continue to work as before.

  • cmd/mdatagen: Add semconv reference for metrics (#​13920)

  • connector/forward: Add support for Profiles to Profiles (#​14092)

  • exporter/debug: Disable sending queue by default (#​14138)
    The recently added sending queue configuration in Debug exporter was enabled by default and had a problematic default size of 1.
    This change disables the sending queue by default.
    Users can enable and configure the sending queue if needed.

  • pkg/config/configoptional: Mark configoptional.AddEnabledField as beta (#​14021)

  • pkg/otelcol: This feature has been improved and tested; secure-by-default redacts configopaque values (#​12369)

🧰 Bug fixes 🧰
  • all: Ensure service service.instance.id is the same for all the signals when it is autogenerated. (#​14140)

v0.139.0

Compare Source

🛑 Breaking changes 🛑
  • cmd/mdatagen: Make stability.level a required field for metrics (#​14070)

  • cmd/mdatagen: Replace optional field with requirement_level field for attributes in metadata schema (#​13913)
    The optional boolean field for attributes has been replaced with a requirement_level field that accepts enum values: required, conditionally_required, recommended, or opt_in.

    • required: attribute is always included and cannot be excluded
    • conditionally_required: attribute is included by default when certain conditions are met (replaces optional: true)
    • recommended: attribute is included by default but can be disabled via configuration (replaces optional: false)
    • opt_in: attribute is not included unless explicitly enabled in user config
      When requirement_level is not specified, it defaults to recommended.
  • pdata/pprofile: Remove deprecated PutAttribute helper method (#​14082)

  • pdata/pprofile: Remove deprecated PutLocation helper method (#​14082)

💡 Enhancements 💡
  • all: Add FIPS and non-FIPS implementations for allowed TLS curves (#​13990)
  • cmd/builder: Set CGO_ENABLED=0 by default, add the cgo_enabled configuration to enable it. (#​10028)
  • pkg/config/configgrpc: Errors of type status.Status returned from an Authenticator extension are being propagated as is to the upstream client. (#​14005)
  • pkg/config/configoptional: Adds new configoptional.AddEnabledField feature gate that allows users to explicitly disable a configoptional.Optional through a new enabled field. (#​14021)
  • pkg/exporterhelper: Replace usage of gogo proto for persistent queue metadata (#​14079)
  • pkg/pdata: Remove usage of gogo proto and generate the structs with pdatagen (#​14078)
🧰 Bug fixes 🧰
  • exporter/debug: add queue configuration (#​14101)

v0.138.0

Compare Source

🛑 Breaking changes 🛑
  • all: Remove deprecated type TracesConfig (#​14036)

  • pkg/exporterhelper: Add default values for sending_queue::batch configuration. (#​13766)
    Setting sending_queue::batch to an empty value now results in the same setup as the default batch processor configuration.

  • all: Add unified print-config command with mode support (redacted, unredacted), json support (unstable), and validation support. (#​11775)
    This replaces the print-initial-config command. See the service package README for more details. The original command name print-initial-config remains an alias, to be retired with the feature flag.

💡 Enhancements 💡
  • all: Add keep_alives_enabled option to ServerConfig to control HTTP keep-alives for all components that create an HTTP server. (#​13783)
  • pkg/otelcol: Avoid unnecessary mutex in collector logs, replace by atomic pointer (#​14008)
  • cmd/mdatagen: Add lint/ordering validation for metadata.yaml (#​13781)
  • pdata/xpdata: Refactor JSON marshaling and unmarshaling to use pcommon.Value instead of AnyValue. (#​13837)
  • pkg/exporterhelper: Expose MergeCtx in exporterhelper's queue batch settings` (#​13742)
🧰 Bug fixes 🧰
  • all: Fix zstd decoder data corruption due to decoder pooling for all components that create an HTTP server. (#​13954)
  • pkg/otelcol: Remove UB when taking internal logs and move them to the final zapcore.Core (#​14009)
    This can happen because of a race on accessing logsTaken.
  • pkg/confmap: Fix a potential race condition in confmap by closing the providers first. (#​14018)

v0.137.0

Compare Source

💡 Enhancements 💡
  • cmd/mdatagen: Improve validation for resource attribute enabled field in metadata files (#​12722)
    Resource attributes now require an explicit enabled field in metadata.yaml files, while regular attributes
    are prohibited from having this field. This improves validation and prevents configuration errors.

  • all: Changelog entries will now have their component field checked against a list of valid components. (#​13924)
    This will ensure a more standardized changelog format which makes it easier to parse.

  • pkg/pdata: Mark featuregate pdata.useCustomProtoEncoding as stable (#​13883)

v0.136.0

Compare Source

💡 Enhancements 💡
  • xpdata: Add Serialization and Deserialization of AnyValue (#​12826)
  • debugexporter: add support for batching (#​13791)
    The default queue size is 1
  • configtls: Add early validation for TLS server configurations to fail fast when certificates are missing instead of failing at runtime. (#​13130, #​13245)
  • mdatagen: Expose stability level in generated metric documentation (#​13748)
  • internal/tools: Add support for modernize in Makefile (#​13796)
🧰 Bug fixes 🧰
  • otelcol: Fix a potential deadlock during collector shutdown. (#​13740)
  • otlpexporter: fix the validation of unix socket endpoints (#​13826)

v0.135.0

Compare Source

💡 Enhancements 💡
  • exporterhelper: Add new exporter_queue_batch_send_size and exporter_queue_batch_send_size_bytes metrics, showing the size of telemetry batches from the exporter. (#​12894)

v0.134.0

Compare Source

💡 Enhancements 💡
  • pdata: Add custom grpc/encoding that replaces proto and calls into the custom marshal/unmarshal logic in pdata. (#​13631)
    This change should not affect other gRPC calls since it fallbacks to the default grpc/proto encoding if requests are not pdata/otlp requests.
  • pdata: Avoid copying the pcommon.Map when same origin (#​13731)
    This is a very large improvement if using OTTL with map functions since it will avoid a map copy.
  • exporterhelper: Respect num_consumers when batching and partitioning are enabled. (#​13607)
🧰 Bug fixes 🧰
  • pdata: Correctly parse OTLP payloads containing non-packed repeated primitive fields (#​13727, #​13730)
    This bug prevented the Collector from ingesting most Histogram, ExponentialHistogram,
    and Profile payloads.

v0.133.0

Compare Source

🛑 Breaking changes 🛑
  • all: Increase minimum Go version to 1.24 (#​13627)
💡 Enhancements 💡
  • otlphttpexporter: Add profiles_endpoint configuration option to allow custom endpoint for profiles data export (#​13504)
    The profiles_endpoint configuration follows the same pattern as traces_endpoint, metrics_endpoint, and logs_endpoint.
    When specified, profiles data will be sent to the custom URL instead of the default {endpoint}/v1development/profiles.

  • pdata: Add support for local memory pooling for data objects. (#​13678)
    This is still an early experimental (alpha) feature. Do not recommended to be used production. To enable use "--featuregate=+pdata.useProtoPooling"

  • pdata: Optimize CopyTo messages to avoid any copy when same source and destination (#​13680)

  • receiverhelper: New feature flag to make receiverhelper distinguish internal vs. downstream errors using new otelcol_receiver_failed_x and otelcol_receiver_requests metrics (#​12207, #​12802)
    This is a breaking change for the semantics of the otelcol_receiver_refused_metric_points, otelcol_receiver_refused_log_records and otelcol_receiver_refused_spans metrics.
    These new metrics and semantics are enabled through the receiverhelper.newReceiverMetrics feature gate.

  • debugexporter: Add support for entity references in debug exporter output (#​13324)

  • pdata: Fix unnecessary allocation of a new state when adding new values to pcommon.Map (#​13634)

  • service: Implement refcounting for pipeline data owned memory. (#​13631)
    This feature is protected by --featuregate=+pdata.useProtoPooling.

  • service: Add a debug-level log message when a consumer returns an error. (#​13357)

  • xpdata: Optimize xpdata/context for persistent queue when only one value for key (#​13636)

  • otlpreceiver: Log the listening addresses of the receiver, rather than the configured endpoints. (#​13654)

  • pdata: Use the newly added proto marshaler/unmarshaler for the official proto Marshaler/Unmarshaler (#​13637)
    If any problems observed with this consider to disable the featuregate --feature-gates=-pdata.useCustomProtoEncoding

  • configtls: Enable X25519MLKEM768 as per draft-ietf-tls-ecdhe-mlkem (#​13670)
🧰 Bug fixes 🧰
  • exporterhelper: Prevent uncontrolled goroutines in batcher due to a incorrect worker pool behaviour. (#​13689)
  • service: Ensure the insecure configuration is accounted for when normalizing the endpoint. (#​13691)
  • configoptional: Allow validating nested types (#​13579)
    configoptional.Optional now implements xconfmap.Validator
  • batchprocessor: Fix UB in batch processor when trying to read bytes size after adding request to pipeline (#​13698)
    This bug only happens id detailed metrics are enabled and also an async (sending queue enabled) exporter that mutates data is configure.

v0.132.0

Compare Source

🛑 Breaking changes 🛑
  • componentstatus: Change the signature of the componentstatus.NewEvent to accept multiple options. (#​13210)
    Changes the signature of the component.NewEvent to accept multiple EventBuilderOption,
    like the new WithAttributes constructor.
🚩 Deprecations 🚩
  • service: move service.noopTraceProvider feature gate to deprecated stage (#​13492)
    The functionality of the feature gate is available via configuration with the following telemetry settings:

    service:
      telemetry:
        traces:
          level: none
    
  • mdatagen: Remove the deletion of generated_component_telemetry_test.go. (#​12067)
    This file used to be generated by mdatagen. Starting with 0.122.0, the code deletes that file.
    It is no longer necessary to delete the file, as code has had time to upgrade to mdatagen and delete the file.

  • service: The telemetry.disableHighCardinalityMetrics feature gate is deprecated (#​13537)
    The feature gate is now deprecated since metric views can be configured.
    The feature gate will be removed in v0.134.0.

    The metric attributes removed by this feature gate are no longer emitted
    by the Collector by default, but if needed, you can achieve the same
    functionality by configuring the following metric views:

    service:
      telemetry:
        metrics:
          level: detailed
          views:
            - selector:
                meter_name: "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
              stream:
                attribute_keys:
                  excluded: ["net.sock.peer.addr", "net.sock.peer.port", "net.sock.peer.name"]
            - selector:
                meter_name: "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
              stream:
                attribute_keys:
                  excluded: ["net.host.name", "net.host.port"]

    Note that this requires setting service::telemetry::metrics::level: detailed.
    If you have a strong use case for using views in combination with a different
    level, please show your interest in
    #​10769.

💡 Enhancements 💡
  • pdata: Generate Logs/Traces/Metrics/Profiles and p[log|trace|metric|profile]ExportResponse with pdatagen. (#​13597)
    This change brings consistency on how these structs are written and remove JSON marshaling/unmarshaling hand written logic.
  • confighttp: Add option to configure ForceAttemptHTTP2 to support HTTP/1 specific transport settings. (#​13426)
  • pdata: Avoid unnecessary buffer copy when JSON marshal fails. (#​13598)
  • cmd/mdatagen: Use a custom host implementation for lifecycle tests (#​13589)
    Use a custom noop host implementation that implements all non-deprecated, publicly-accessible interfaces implemented by the Collector service.
  • processorhelper: Add processor internal duration metric. (#​13231)
  • pdata: Improve RemoveIf for slices to not reference anymore the removed memory (#​13522)
🧰 Bug fixes 🧰
  • pdata: Fix null pointer access when copying into a slice with larger cap but smaller len. (#​13523)

  • confighttp: Fix middleware configuration field name from "middleware" to "middlewares" for consistency with configgrpc (#​13444)

  • memorylimiterextension, memorylimiterprocessor: Memory limiter extension and processor shutdown don't throw an error if the component was not started first. (#​9687)
    The components would throw an error if they were shut down before being started.
    With this change, they will no longer return an error, conforming to the lifecycle of components expected.

  • confighttp: Reuse zstd Reader objects (#​11824)

v0.131.0

Compare Source

🛑 Breaking changes 🛑
  • confighttp: Move confighttp.framedSnappy feature gate to beta. (#​10584)
💡 Enhancements 💡
  • exporter/debug: Move to alpha stability except profiles (#​13487)

  • exporterhelper: Enable exporter.PersistRequestContext feature gate by default. (#​13437)
    Request context is now preserved by default when using persistent queues.
    Note that Auth extensions context is not propagated through the persistent queue.

  • pdata: Use pdatagen to generate marshalJSON without using gogo proto jsonpb. (#​13450)

  • otlpreceiver: Remove usage of gogo proto which uses reflect.Value.MethodByName. Removes one source of disabling DCE. (#​12747)

  • exporterhelper: Fix metrics split logic to consider metrics description into the size. (#​13418)

  • service: New pipeline instrumentation now differentiates internal failures from downstream errors (#​13234)
    With the telemetry.newPipelineTelemetry feature gate enabled, the "received" and "produced"
    metrics related to a component now distinguish between two types of errors:

    • "outcome = failure" indicates that the component returned an internal error;
    • "outcome = refused" indicates that the component successfully emitted data, but returned an
      error coming from a downstream component processing that data.
  • pdata: Remove usage of text/template from pdata, improves DCE. (#​12747)

  • architecture: New Tier 3 platform riscv64 allowing the collector to be built and distributed for this platform. (#​13462)

🧰 Bug fixes 🧰
  • exporterhelper: Prevents the exporter for being stuck when telemetry data is bigger than batch.max_size (#​12893)
  • mdatagen: Fix import paths for mdatagen component (#​13069)
  • otlpreceiver: Error handler correctly fallbacks to content type (#​13414)
  • pdata/pprofiles: Fix profiles JSON unmarshal logic for originalPayload. The bytes have to be base64 encoded. (#​13483)
  • xpdata: Fix unmarshaling JSON for entities, add e2e tests to avoid this in the future. (#​13480)
  • service: Downgrade dependency of prometheus exporter in OTel Go SDK (#​13429)
    This fixes the bug where collector's internal metrics are emitted with an unexpected suffix in their names when users configure the service::telemetry::metrics::readers with Prometheus
  • service: Revert Default internal metrics config now enables otel_scope_ labels (#​12939, #​13344)
    Reverting change temporarily due to prometheus exporter downgrade. This unfortunately re-introduces the bug that instrumentation scope attributes cause errors in Prometheus exporter. See #​12939 for details.
  • builder: Remove undocumented handling of DIST_* environment variables replacements (#​13335)

v0.130.1

Compare Source

🧰 Bug fixes 🧰
  • service: Fixes bug where internal metrics are emitted with an unexpected suffix in their names when users configure service::telemetry::metrics::readers with Prometheus. (#​13449)
    See more details on open-telemetry/opentelemetry-go#7039

v0.130.0

Compare Source

❗ Known Issues ❗
  • Due to a bug in the prometheus exporter, if you are configuring a prometheus exporter, the collector's internal metrics will be emitted with an unexpected suffix in its name. For example, the metric otelcol_exporter_sent_spans__spans__total instead of otelcol_exporter_sent_spans_total. The workaround is to manually configure without_units: true in your prometheus exporter config

    service:
      telemetry:
        metrics:
          readers:
            - pull:
                exporter:
                  prometheus:
                    host: 0.0.0.0
                    port: 8888
                    without_units: true

    If you are using the collector's default Prometheus exporter for exporting internal metrics you are unaffected.

🛑 Breaking changes 🛑
  • exporter/otlp: Remove deprecated batcher config from OTLP, use queuebatch (#​13339)
💡 Enhancements 💡
  • exporterhelper: Enable items and bytes sizers for persistent queue (#​12881)
  • exporterhelper: Refactor persistent storage size backup to always record it. (#​12890)
  • exporterhelper: Add support to configure a different Sizer for the batcher than the queue (#​13313)
  • yaml: Replaced sigs.k8s.io/yaml with go.yaml.in/yaml for improved support and long-term maintainability. (#​13308)
🧰 Bug fixes 🧰
  • exporterhelper: Fix exporter.PersistRequestContext feature gate (#​13342)

  • exporterhelper: Preserve all metrics metadata when batch splitting. (#​13236)
    Previously, when large batches of metrics were processed, the splitting logic in metric_batch.go could
    cause the name field of some metrics to disappear. This fix ensures that all metric fields are
    properly preserved when metricRequest objects are split.

  • service: Default internal metrics config now enables otel_scope_ labels (#​12939, #​13344)
    By default, the Collector exports its internal metrics using a Prometheus
    exporter from the opentelemetry-go repository. With this change, the Collector
    no longer sets "without_scope_info" to true in its configuration.

    This means that all exported metrics will have otel_scope_name,
    otel_scope_schema_url, and otel_scope_version labels corresponding to the
    instrumentation scope metadata for that metric.

    This notably prevents an error when multiple metrics are only distinguished
    by their instrumentation scopes and end up aliased during export.

    If this is not desired behavior, a Prometheus exporter can be explicitly
    configured with this option enabled.

v0.129.0

Compare Source

🛑 Breaking changes 🛑
  • exporterhelper: Remove deprecated sending_queue::blocking options, use sending_queue::block_on_overflow. (#​13211)
💡 Enhancements 💡
  • mdatagen: Taught mdatagen to print the go list stderr output on failures, and to run go list where the metadata file is. (#​13205)

  • service: Support setting sampler and limits under service::telemetry::traces (#​13201)
    This allows users to enable sampling and set span limits on internal Collector traces using the
    OpenTelemetry SDK declarative configuration.

  • pdata/pprofile: Add new helper methods FromLocationIndices and PutLocation to read and modify the content of locations. (#​13150)

  • exporterhelper: Preserve request span context and client information in the persistent queue. (#​11740, #​13220, #​13232)
    It allows internal collector spans and client information to propagate through the persistent queue used by
    the exporters. The same way as it's done for the in-memory queue.
    Currently, it is behind the exporter.PersistRequestContext feature gate, which can be enabled by adding
    --feature-gates=exporter.PersistRequestContext to the collector command line. An exporter buffer stored by
    a previous version of the collector (or by a collector with the feature gate disabled) can be read by a newer
    collector with the feature enabled. However, the reverse is not supported: a buffer stored by a newer collector with
    the feature enabled cannot be read by an older collector (or by a collector with the feature gate disabled).

🧰 Bug fixes 🧰
  • pdata: Fix copying of optional fields when the source is unset. (#​13268)
  • service: Only allocate one set of internal log sampling counters (#​13014)
    The case where logs are only exported to stdout was fixed in v0.126.0;
    this new fix also covers the case where logs are exported through OTLP.

v0.128.0

Compare Source

🛑 Breaking changes 🛑
  • service/telemetry: Mark "telemetry.disableAddressFieldForInternalTelemetry" as stable (#​13152)
💡 Enhancements 💡
  • confighttp: Update the HTTP server span naming to use the HTTP method and route pattern instead of the path. (#​12468)
    The HTTP server span name will now be formatted as <http.request.method> <http.route>.
    If a route pattern is not available, it will fall back to <http.request.method>.

  • service: Use configured loggers to log errors as soon as it is available (#​13081)

  • service: Remove stabilized featuregate useOtelWithSDKConfigurationForInternalTelemetry (#​13152)

🧰 Bug fixes 🧰
  • telemetry: Add generated resource attributes to the printed log messages. (#​13110)
    If service.name, service.version, or service.instance.id are not specified in the config, they will be generated automatically.
    This change ensures that these attributes are also included in the printed log messages.

  • mdatagen: Fix generation when there are no events in the metadata. (#​13123)

  • confmap: Do not panic on assigning nil maps to non-nil maps (#​13117)

  • pdata: Fix event_name skipped when unmarshalling LogRecord from JSON (#​13127)

v0.127.0

Compare Source

🚩 Deprecations 🚩
  • semconv: Deprecating the semconv package in favour of go.opentelemetry.io/otel/semconv (#​13012)
💡 Enhancements 💡
  • exporter/debug: Display resource and scope in normal verbosity (#​10515)
  • service: Add size metrics defined in Pipeline Component Telemetry RFC (#​13032)
    See Pipeline Component Telemetry RFC for more details:
    • otelcol.receiver.produced.size
    • otelcol.processor.consumed.size
    • otelcol.processor.produced.size
    • otelcol.connector.consumed.size
    • otelcol.connector.produced.size
    • otelcol.exporter.consumed.size

v0.126.0

Compare Source

🛑 Breaking changes 🛑
  • configauth: Removes deprecated configauth.Authentication and extensionauthtest.NewErrorClient (#​12992)
    The following have been removed:
    • configauth.Authentication use configauth.Config instead
    • extensionauthtest.NewErrorClient use extensionauthtest.NewErr instead
💡 Enhancements 💡
  • service: Replace go.opentelemetry.io/collector/semconv usage with go.opentelemetry.io/otel/semconv (#​12991)

  • confmap: Update the behavior of the confmap.enableMergeAppendOption feature gate to merge only component lists. (#​12926)

  • service: Add item count metrics defined in Pipeline Component Telemetry RFC (#​12812)
    See Pipeline Component Telemetry RFC for more details:

    • otelcol.receiver.produced.items
    • otelcol.processor.consumed.items
    • otelcol.processor.produced.items
    • otelcol.connector.consumed.items
    • otelcol.connector.produced.items
    • otelcol.exporter.consumed.items
  • tls: Add trusted platform module (TPM) support to TLS authentication. (#​12801)
    Now the TLS allows the use of TPM for loading private keys (e.g. in TSS2 format).

🧰 Bug fixes 🧰
  • exporterhelper: Add validation error for batch config if min_size is greater than queue_size. (#​12948)

  • telemetry: Allocate less memory per component when OTLP exporting of logs is disabled (#​13014)

  • confmap: Use reflect.DeepEqual to avoid panic when confmap.enableMergeAppendOption feature gate is enabled. (#​12932)

  • internal telemetry: Add resource attributes from telemetry.resource to the logger (#​12582)
    Resource attributes from telemetry.resource were not added to the internal
    console logs.

    Now, they are added to the logger as part of the "resource" field.

  • confighttp and configcompression: Fix handling of snappy content-encoding in a backwards-compatible way (#​10584, #​12825)
    The collector used the Snappy compression type of "framed" to handle the HTTP
    content-encoding "snappy". However, this encoding is typically used to indicate
    the "block" compression variant of "snappy". This change allows the collector to:

    • When receiving a request with encoding 'snappy', the server endpoints will peek
      at the first bytes of the payload to determine if it is "framed" or "block" snappy,
      and will decompress accordingly. This is a backwards-compatible change.

    If the feature-gate "confighttp.framedSnappy" is enabled, you'll see new behavior for both client and server:

    • Client compression type "snappy" will now compress to the "block" variant of snappy
      instead of "framed". Client compression type "x-snappy-framed" will now compress to the "framed" variant of snappy.
    • Servers will accept both "snappy" and "x-snappy-framed" as valid content-encodings.
  • tlsconfig: Disable TPM tests on MacOS/Darwin (#​12964)

v0.125.0

Compare Source

🛑 Breaking changes 🛑
  • service: Lowercase values for 'otelcol.component.kind' attributes. (#​12865)

  • service: Restrict the telemetry.newPipelineTelemetry feature gate to metrics. (#​12856, #​12933)
    The "off" state of this feature gate introduced a regression, where the Collector's internal logs were missing component attributes. See issue #​12870 for more details on this bug.

    On the other hand, the "on" state introduced an issue with the Collector's default internal metrics, because the Prometheus exporter does not currently support instrumentation scope attributes.

    To solve both of these issues, this change turns on the new scope attributes for logs and traces by default regardless of the feature gate.
    However, the new scope attributes for metrics stay locked behind the feature gate, and will remain off by default until the Prometheus exporter is updated to support scope attributes.

    Please understand that enabling the telemetry.newPipelineTelemetry feature gate may break the export of Collector metrics through, depending on your configuration.
    Having a batch processor in multiple pipelines is a known trigger for this.

    This comes with a breaking change, where internal logs exported through OTLP will now use instrumentation scope attributes to identify the source component instead of log attributes.
    This does not affect the Collector's stderr output. See the changelog for v0.123.0 for a more detailed description of the gate's effects.

💡 Enhancements 💡
🧰 Bug fixes 🧰
  • exporterhelper: Do not ignore the num_consumers setting when batching is enabled. (#​12244)
  • exporterhelper: Reject elements larger than the queue capacity (#​12847)
  • mdatagen: Add time and plog package imports (#​12907)
  • confmap: Maintain nil values when marshaling or unmarshaling nil slices (#​11882)
    Previously, nil slices were converted to empty lists, which are semantically different
    than a nil slice. This change makes this conversion more consistent when encoding
    or decoding config, and these values are now maintained.

v0.124.0

Compare Source

💡 Enhancements 💡
  • exporterhelper: Add support for bytes-based batching for profiles in the exporterhelper package. (#​3262)
  • otelcol: Enhance config validation using command to capture all validation errors that prevents the collector from starting. (#​8721)
  • exporterhelper: Link batcher context to all batched request's span contexts. (#​12212, #​8122)
🧰 Bug fixes 🧰
  • confighttp: Ensure http authentication server failures are handled by the provided error handler (#​12666)

v0.123.0

Compare Source

❗ Known Issues ❗
  • This version increases memory usage by ~0.5 MB per component in the pipelines because a separate Zap Core logger is
    initialized for each component. The issue is partially fixed in v0.126.0 for users who write logs to stdout, but do
    not export logs via OTLP. See #​13014 for more details.
🛑 Breaking changes 🛑
  • service/telemetry: Mark telemetry.disableAddressFieldForInternalTelemetry as beta, usage of deprecated service::telemetry::address are ignored (#​25115)
    To restore the previous behavior disable telemetry.disableAddressFieldForInternalTelemetry feature gate.
  • exporterbatch: Remove deprecated fields min_size_items and max_size_items from batch config. (#​12684)
🚩 Deprecations 🚩
  • otlpexporter: Mark BatcherConfig as deprecated, use sending_queue::batch instead (#​12726)
  • exporterhelper: Deprecate blocking in favor of block_on_overflow. (#​12710)
  • exporterhelper: Deprecate configuring exporter batching separately. Use sending_queue::batch instead. (#​12772)
    Moving the batching configuration to sending_queue::batch requires setting sending_queue::sizer to items
    which means that sending_queue::queue_size needs to be also increased by the average batch size number (roughly
    x5000 for the default batching configuration).
    See https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/exporterhelper#configuration
💡 Enhancements 💡
  • exporterhelper: Add support to configure batching in the sending queue. (#​12746)

  • exporterhelper: Add support for wait_for_result, remove disabled_queue (#​12742)
    This has a side effect for users of the experimental BatchConfig with the queue disabled, since not this is | uses only NumCPU() consumers.

  • exporterhelper: Allow exporter memory queue to use different type of sizers. (#​12708)

  • service: Add "telemetry.newPipelineTelemetry" feature gate to inject component-identifying attributes in internal telemetry (#​12217)
    With the feature gate enabled, all internal telemetry (metrics/traces/logs) will include some of
    the following instrumentation scope attributes:

    • otelcol.component.kind
    • otelcol.component.id
    • otelcol.pipeline.id
    • otelcol.signal
    • otelcol.signal.output

    These attributes are defined in the Pipeline Component Telemetry RFC,
    and identify the component instance from which the telemetry originates.
    They are added automatically without changes to component code.

    These attributes were already included in internal logs as regular log attributes, starting from
    v0.120.0. For consistency with other signals, they have been switched to scope attributes (with
    the exception of logs emitted to standard output), and are now enabled by the feature gate.

    Please make sure that the exporter / backend endpoint you use has support for instrumentation
    scope attributes before using this feature. If the internal telemetry is exported to another
    Collector, a transform processor could be used to turn them into other kinds of attributes if
    necessary.

  • exporterhelper: Enable support to do batching using bytes sizer (#​12751)

  • service: Add config key to set metric views used for internal telemetry (#​10769)
    The service::telemetry::metrics::views config key can now be used to explicitly set the list of
    metric views used for internal telemetry, mirroring meter_provider::views in the SDK config.
    This can be used to disable specific internal metrics, among other uses.

    This key will cause an error if used alongside other features which would normally implicitly create views, such as:

    • not setting service::telemetry::metrics::level to detailed;
    • enabling the telemetry.disableHighCardinalityMetrics feature flag.
🧰 Bug fixes 🧰
  • exporterhelper: Fix order of starting between queue and batch. (#​12705)

v0.122.1

Compare Source

🧰 Bug fixes 🧰
  • confmap: Ensure slices with defaults containing struct values are correctly set. (#​12661)
    This reverts the changes made in #​11882.

v0.122.0

Compare Source

🛑 Breaking changes 🛑
  • service: Batch processor telemetry is no longer emitted at "basic" verbosity level (#​7890)
    According to the guidelines, basic-level telemetry should be reserved for core Collector APIs.
    Components such as the batch processor should emit telemetry starti

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 changed the title Update module go.opentelemetry.io/collector/connector to v0.94.0 Update module go.opentelemetry.io/collector/connector to v0.94.1 Feb 8, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 2407493 to f8e1cfd Compare February 8, 2024 01:20
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from f8e1cfd to f147e32 Compare February 20, 2024 18:03
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.94.1 Update module go.opentelemetry.io/collector/connector to v0.95.0 Feb 20, 2024
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.95.0 Update module go.opentelemetry.io/collector/connector to v0.96.0 Mar 4, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from f147e32 to a1949bf Compare March 4, 2024 17:14
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from a1949bf to 1363475 Compare March 25, 2024 21:42
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.96.0 Update module go.opentelemetry.io/collector/connector to v0.97.0 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 1363475 to 898ee1c Compare April 11, 2024 02:40
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.97.0 Update module go.opentelemetry.io/collector/connector to v0.98.0 Apr 11, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 898ee1c to d02ea7c Compare April 22, 2024 23:16
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.98.0 Update module go.opentelemetry.io/collector/connector to v0.99.0 Apr 22, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from d02ea7c to 73df088 Compare May 6, 2024 17:08
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.99.0 Update module go.opentelemetry.io/collector/connector to v0.100.0 May 6, 2024
@renovate
Copy link
Contributor Author

renovate bot commented May 6, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: go.opentelemetry.io/[email protected]: reading go.opentelemetry.io/collector/go.mod at revision v0.100.0: unknown revision v0.100.0

@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 73df088 to e1c774f Compare May 21, 2024 23:06
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.100.0 Update module go.opentelemetry.io/collector/connector to v0.101.0 May 21, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from e1c774f to b2f58bb Compare June 4, 2024 09:51
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.101.0 Update module go.opentelemetry.io/collector/connector to v0.102.0 Jun 4, 2024
@renovate
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):

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

Details:

Package Change
go 1.20 -> 1.24.0
github.com/stretchr/testify v1.8.4 -> v1.11.1
go.opentelemetry.io/collector/component v0.93.0 -> v1.47.0
golang.org/x/sys v0.16.0 -> v0.37.0
cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68 -> v0.9.0
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.21.0 -> v1.30.0
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 -> v0.0.0-20251022180443-0feb69152e9f
github.com/envoyproxy/go-control-plane v0.11.1 -> v0.13.5-0.20251024222203-75eaa193e329
github.com/envoyproxy/protoc-gen-validate v1.0.2 -> v1.2.1
github.com/go-logr/logr v1.4.1 -> v1.4.3
github.com/golang/protobuf v1.5.3 -> v1.5.4
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 -> v2.26.3
github.com/hashicorp/go-version v1.6.0 -> v1.7.0
github.com/modern-go/reflect2 v1.0.2 -> v1.0.3-0.20250322232337-35a7c28c31ee
github.com/prometheus/client_model v0.5.0 -> v0.6.2
github.com/stretchr/objx v0.5.0 -> v0.5.2
go.opentelemetry.io/collector/consumer v0.93.0 -> v1.47.0
go.opentelemetry.io/collector/featuregate v1.0.1 -> v1.47.0
go.opentelemetry.io/collector/pdata v1.0.1 -> v1.47.0
go.opentelemetry.io/otel v1.22.0 -> v1.38.0
go.opentelemetry.io/otel/metric v1.22.0 -> v1.38.0
go.opentelemetry.io/otel/sdk v1.22.0 -> v1.38.0
go.opentelemetry.io/otel/sdk/metric v1.22.0 -> v1.38.0
go.opentelemetry.io/otel/trace v1.22.0 -> v1.38.0
go.opentelemetry.io/proto/otlp v1.0.0 -> v1.7.0
go.uber.org/zap v1.26.0 -> v1.27.1
golang.org/x/crypto v0.18.0 -> v0.43.0
golang.org/x/mod v0.14.0 -> v0.28.0
golang.org/x/net v0.20.0 -> v0.46.1-0.20251013234738-63d1a5100f82
golang.org/x/oauth2 v0.16.0 -> v0.32.0
golang.org/x/term v0.16.0 -> v0.36.0
golang.org/x/text v0.14.0 -> v0.30.0
golang.org/x/tools v0.16.0 -> v0.37.0
gonum.org/v1/gonum v0.14.0 -> v0.16.0
google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 -> v0.0.0-20251022142026-3a174f9686a8
google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 -> v0.0.0-20251022142026-3a174f9686a8
google.golang.org/grpc v1.60.1 -> v1.77.0
google.golang.org/protobuf v1.32.0 -> v1.36.10

@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from b2f58bb to 43d1447 Compare June 5, 2024 19:55
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.102.0 Update module go.opentelemetry.io/collector/connector to v0.102.1 Jun 5, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 43d1447 to 429f301 Compare June 18, 2024 13:51
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.102.1 Update module go.opentelemetry.io/collector/connector to v0.103.0 Jun 18, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 429f301 to 52685ad Compare July 1, 2024 22:25
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.103.0 Update module go.opentelemetry.io/collector/connector to v0.104.0 Jul 1, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch 2 times, most recently from b382a69 to 532e8bb Compare July 16, 2024 20:28
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.104.0 Update module go.opentelemetry.io/collector/connector to v0.105.0 Jul 16, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 532e8bb to 5bdb727 Compare July 29, 2024 22:01
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 01635df to 520420f Compare June 30, 2025 13:07
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.128.0 Update module go.opentelemetry.io/collector/connector to v0.129.0 Jun 30, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 520420f to 12129d1 Compare July 14, 2025 19:57
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.129.0 Update module go.opentelemetry.io/collector/connector to v0.130.0 Jul 14, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 12129d1 to 5383af7 Compare July 22, 2025 13:54
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.130.0 Update module go.opentelemetry.io/collector/connector to v0.130.1 Jul 22, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 5383af7 to 744e33e Compare July 29, 2025 16:43
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.130.1 Update module go.opentelemetry.io/collector/connector to v0.131.0 Jul 29, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch 2 times, most recently from 5634908 to 497db5c Compare August 12, 2025 10:46
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.131.0 Update module go.opentelemetry.io/collector/connector to v0.132.0 Aug 12, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 497db5c to 1a859a1 Compare August 25, 2025 20:42
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.132.0 Update module go.opentelemetry.io/collector/connector to v0.133.0 Aug 25, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 1a859a1 to d1df53e Compare August 31, 2025 11:05
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.133.0 Update module go.opentelemetry.io/collector/connector to v0.134.0 Aug 31, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from d1df53e to 3c7a28e Compare September 8, 2025 21:21
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.134.0 Update module go.opentelemetry.io/collector/connector to v0.135.0 Sep 8, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 3c7a28e to d5166c6 Compare September 22, 2025 21:29
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.135.0 Update module go.opentelemetry.io/collector/connector to v0.136.0 Sep 22, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from d5166c6 to a0cd7a7 Compare October 6, 2025 21:14
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.136.0 Update module go.opentelemetry.io/collector/connector to v0.137.0 Oct 6, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from a0cd7a7 to 322a1a1 Compare October 20, 2025 17:33
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.137.0 Update module go.opentelemetry.io/collector/connector to v0.138.0 Oct 20, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 322a1a1 to 68cf8dc Compare November 3, 2025 22:32
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.138.0 Update module go.opentelemetry.io/collector/connector to v0.139.0 Nov 3, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 68cf8dc to 122857e Compare November 17, 2025 17:50
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.139.0 Update module go.opentelemetry.io/collector/connector to v0.140.0 Nov 17, 2025
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-collector-connector-0.x branch from 122857e to 8cec83b Compare December 1, 2025 14:13
@renovate renovate bot changed the title Update module go.opentelemetry.io/collector/connector to v0.140.0 Update module go.opentelemetry.io/collector/connector to v0.141.0 Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant