Skip to content

Update opentelemetry-go monorepo to v1.48.0 - #186

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/opentelemetry-go-monorepo
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/opentelemetry-go-monorepo

Conversation

@renovate

@renovate renovate Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/otel v1.47.0 → v1.48.0 age confidence
go.opentelemetry.io/otel/trace v1.47.0 → v1.48.0 age confidence

Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)

v1.48.0: /v0.70.0/v0.24.0/v0.1.1

Compare Source

This release contains the first stable release of the OpenTelemetry Go stdout log exporter.
Our project stability guarantees now apply to the go.opentelemetry.io/otel/exporters/stdout/stdoutlog module.
See our versioning policy for more information about these stability guarantees.

Added
  • Add go.opentelemetry.io/otel/semconv/v1.45.0 and its metric convenience subpackages from OpenTelemetry Semantic Conventions v1.45.0.
    See the migration documentation for upgrading from go.opentelemetry.io/otel/semconv/v1.44.0. (#​9484)
  • Add experimental WithFinish support for Int64UpDownCounter and Float64UpDownCounter Sum aggregation in go.opentelemetry.io/otel/sdk/metric/x. (#​9251)
  • Add experimental WithFinish support for Int64Gauge and Float64Gauge LastValue aggregation in go.opentelemetry.io/otel/sdk/metric/x.
    Ignore delayed Finish calls that predate the resolved series lifetime. (#​9252)
  • Support the OTEL_METRIC_EXPORT_MAX_BATCH_SIZE environment variable in NewPeriodicReader in go.opentelemetry.io/otel/sdk/metric. The WithMaxExportBatchSize option takes precedence. (#​9316)
  • Add go.opentelemetry.io/otel/semconv/v1.44.0 package. The package contains semantic conventions from the v1.44.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.43.0. (#​9265)
  • Generate floating-point instruments for metrics that record fractional values in go.opentelemetry.io/otel/semconv/v1.44.0 and let caller-supplied histogram options override the recommended boundaries without mutating the option slice. (#​9332)
  • Implement per-series start timestamps for cumulative asynchronous instruments when OTEL_GO_X_PER_SERIES_START_TIMESTAMPS=true is set in go.opentelemetry.io/otel/sdk/metric. (#​9311)
  • Add experimental WithOptIn instrument option in go.opentelemetry.io/otel/metric/x and experimental View Enabled configuration (Stream, View, NewView, and WithView) in go.opentelemetry.io/otel/sdk/metric/x. (#​9298)
  • Add experimental WithFinish support for Float64Counter Sum aggregation in go.opentelemetry.io/otel/sdk/metric/x. (#​9186)
  • Add experimental WithFinish support for Int64Counter Sum aggregation,
    including cancellable provider shutdown and parked waits for in-flight measurements,
    in go.opentelemetry.io/otel/sdk/metric/x. (#​8962)
  • Add experimental support for enabling/disabling Meters per instrumentation scope via MeterConfigurator, MeterConfig, and MeterConfiguratorHandle in go.opentelemetry.io/otel/sdk/metric/x. Configuration is set at MeterProvider construction via WithMeterConfigurator and can be updated live through MeterConfiguratorHandle.Set. This gates recording (Add/Record/Observe) only. MeterProviders without it are unaffected. (#​8743)
  • Add WithViewMatchingMode and ViewMatchingMode in go.opentelemetry.io/otel/sdk/metric/x to support composable view matching. (#​8510)
Changed
  • Move go.opentelemetry.io/otel/log/global from the Logs API to a deprecated compatibility module with a single planned release, v1.48.0.
    To keep using the existing import, run go mod tidy after upgrading the Logs API to record the compatibility module and its checksums.
    To migrate, use Logger, GetLoggerProvider, and SetLoggerProvider from go.opentelemetry.io/otel. (#​9639)
  • Adopt OpenTelemetry Semantic Conventions v1.45.0 across SDK components and exporters, including the schema URL reported by resource detectors and SDK metric instrumentation scopes. (#​9492)
  • Use one unbounded histogram bucket by default for the experimental otel.sdk.exporter.operation.duration and otel.sdk.metric_reader.collection.duration metrics. This preserves count and sum. Configure a View with explicit aggregation to collect a bucket distribution. (#​9492)
  • Rename rpc.response.status_code to rpc.status_code in experimental self-observability metrics emitted by
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, and
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​9492)
  • Stabilize the go.opentelemetry.io/otel/exporters/stdout/stdoutlog module.
    The exporter's output format may still change, as documented in the package documentation. (#​9472)
  • ErrorType in go.opentelemetry.io/otel/semconv/v1.44.0 now unwraps single-error errors.Join wrappers when deriving the error.type attribute. (#​9466)
  • go.opentelemetry.io/otel/sdk/log now unwraps single-error errors.Join wrappers when deriving the exception.type attribute from errors on log records. (#​9466)
  • Clarify in go.opentelemetry.io/otel/exporters/stdout/stdouttrace that the exporter is intended for testing and debugging and its output format has no stability or compatibility guarantees. (#​9473)
  • Document the concurrency guarantees of the Exporter in go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#​9444)
  • Clarify the security-related versioning exception by linking to the OpenTelemetry client specification. (#​9436)
  • Emit attributes using the OpenTelemetry representation for non-OTLP protocols in go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#​9307)
  • Emit attributes using the OpenTelemetry representation for non-OTLP protocols in go.opentelemetry.io/otel/exporters/stdout/stdoutmetric.
    The default JSON encoder rejects unsupported aggregation types with an explicit error. (#​9308)
  • Support custom encoders implementing SetIndent with WithPrettyPrint in go.opentelemetry.io/otel/exporters/stdout/stdoutmetric. (#​9308)
  • Emit log bodies and attributes using the OpenTelemetry representation for non-OTLP protocols in go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#​9150)
  • Reduce scrape allocations in go.opentelemetry.io/otel/exporters/prometheus by reusing label data and descriptors within each scrape. (#​9248, #​9325, #​9337)
  • Improve performance of exponential histogram measurements in go.opentelemetry.io/otel/sdk/metric. (#​9277, #​9481)
  • Improve the performance of sum, last-value, and explicit-bucket histogram measurements immediately after collection in go.opentelemetry.io/otel/sdk/metric for delta temporality by lazily clearing storage. (#​8276)
  • Document a compatibility regression introduced in go.opentelemetry.io/otel v1.47.0 that breaks compilation with go.opentelemetry.io/otel/bridge/opentracing v1.46.0 and earlier.
    Include instructions for upgrading the bridge to v1.47.0.
    See the bridge version compatibility documentation. (#​9209)
  • Document the concurrency guarantees of the Exporter in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​9244)
  • Upgrade github.com/cenkalti/backoff from v5 to v7 in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​9267)
  • TracerProvider.Shutdown and TracerProvider.UnregisterSpanProcessor in go.opentelemetry.io/otel/sdk/trace now wait for in-flight OnStart, OnEnd, and ForceFlush calls to complete before invoking the processor's Shutdown.
    As a result, they must no longer be called directly or indirectly from a SpanProcessor method, and Shutdown returns ctx.Err() without shutting down any processor if ctx is done while waiting. (#​9070)
Deprecated
  • The go.opentelemetry.io/otel/bridge/opentracing module and its opentracing and migration packages are deprecated.
    v1.48.0 is the final planned release of this module.
    Use native OpenTelemetry APIs and SDKs instead; see Migrating from OpenTracing. (#​9218)
  • The go.opentelemetry.io/otel/bridge/opencensus module and package are deprecated.
    v1.48.0 is the final planned release of this module.
    Use native OpenTelemetry APIs and SDKs instead; see Migrating from OpenCensus. (#​9221)
Fixed
  • ⚠️ Breaking Change: Let an http or https scheme in OTEL_EXPORTER_OTLP_ENDPOINT or the signal-specific endpoint environment variable take precedence over OTEL_EXPORTER_OTLP_INSECURE and the signal-specific insecure environment variable in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​9273)
    Previously, OTEL_EXPORTER_OTLP_INSECURE=true made these exporters send plaintext to an https:// endpoint.
    Programmatic options still take precedence over environment variables.
  • Prevent credential exposure in malformed header and endpoint environment-variable diagnostics in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (GHSA-g3pw-h497-xqr9)
  • Redact invalid WithEndpointURL inputs and timeout environment-variable values from diagnostics in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (GHSA-g3pw-h497-xqr9)
  • Redact invalid compression environment-variable values from diagnostics in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, and invalid insecure environment-variable values from diagnostics in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (GHSA-g3pw-h497-xqr9)
  • Redact invalid numeric environment-variable values from log SDK setting diagnostics in go.opentelemetry.io/otel/sdk/log and periodic metric reader duration and maximum export batch size diagnostics in go.opentelemetry.io/otel/sdk/metric. (GHSA-g3pw-h497-xqr9)
  • Redact invalid temporality preference and default histogram aggregation environment-variable values from warnings in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (GHSA-g3pw-h497-xqr9)
  • Redact invalid integer settings, OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG values from diagnostics in go.opentelemetry.io/otel/sdk/trace, and malformed OTEL_RESOURCE_ATTRIBUTES entries from diagnostics in go.opentelemetry.io/otel/sdk/resource. (GHSA-g3pw-h497-xqr9)
  • Redact invalid WithCompressor values from diagnostics in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (GHSA-g3pw-h497-xqr9)
  • Remove raw endpoint and target strings from observability Debug logs in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (GHSA-g3pw-h497-xqr9)
  • Drop headers with invalid names passed to WithHeaders and report an error that does not include the name in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. The gRPC exporters now also reject header names gRPC metadata does not accept, in both WithHeaders and the environment variables. (GHSA-g3pw-h497-xqr9)
  • Avoid duration overflow when checking RetryConfig.MaxElapsedTime against the selected retry delay in
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp,
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp.
  • Reject a negative or unrepresentable timeout in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. A negative WithTimeout argument and a negative or overflowing OTEL_EXPORTER_OTLP_*_TIMEOUT value are ignored and reported through the error handler; the default timeout applies only when no other valid timeout is configured. (#​9254)
  • Remove the leading v prefix from the self-observability instrumentation scope version in go.opentelemetry.io/otel/exporters/stdout/stdoutlog to match other exporters. (#​9689)
  • Preserve percent-encoded surrounding whitespace in environment-configured header values in
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, and
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​9666)
  • Fix the OTLP retry MaxElapsedTime check to include the backoff delay in
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp,
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc,
    and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp,
    so a retry that cannot fit in the retry budget is abandoned before waiting. (#​9632)
  • Export the trace state of span links as Link.trace_state in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. It was previously dropped. (#​9611)
  • Combine multiple tracestate header values via ValuesGetter in TraceContext.Extract in go.opentelemetry.io/otel/propagation. (#​9581)
  • Ignore optional whitespace-only list-members when parsing tracestate headers in ParseTraceState in go.opentelemetry.io/otel/trace. (#​9582)
  • Percent-encoded whitespace in OTEL_EXPORTER_OTLP_*_HEADERS environment values is now preserved by the convHeaders functions in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​9253)
  • Record otel.sdk.processor.log.processed with error.type="queue_full" synchronously when BatchProcessor.OnEmit drops a log record due to a full queue in go.opentelemetry.io/otel/sdk/log. (#​9524)
  • Fix Set.Equivalent and Hasher.Distinct in go.opentelemetry.io/otel/attribute returning the same Distinct for different attributes when adjacent strings or nested slices and maps share a boundary, such as []string{"ab", "c"} and []string{"a", "bc"}.
    This prevented those attribute sets from being kept as separate metric streams in go.opentelemetry.io/otel/sdk/metric. (#​9508)
  • Replace go.opentelemetry.io/proto/otlp with go.opentelemetry.io/proto/slim/otlp in
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, removing the
    google.golang.org/grpc and github.com/grpc-ecosystem/grpc-gateway/v2 dependencies.
    Public exporter APIs and ordinary OTLP payloads remain compatible.
    Applications depending on OTLP protobuf reflection identities or external google.protobuf.Any type URLs should review the
    upstream compatibility notes. (#​9499)
  • Use otlp_http_json_span_exporter for otel.component.type and the component name prefix when JSON encoding is configured in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​9492)
  • Honor explicitly empty histogram bucket-boundary advice in go.opentelemetry.io/otel/sdk/metric, producing a single bucket while preserving count and sum.
    Calling WithExplicitBucketBoundaries in go.opentelemetry.io/otel/metric with no arguments or a nil slice now explicitly advises a single unbounded bucket.
    Omitting the option preserves the reader's boundaries. (#​9495)
  • Record Prometheus exporter self-observability otel.sdk.exporter.metric_data_point.inflight and otel.sdk.exporter.metric_data_point.exported metrics per scrape batch instead of per metric family, accounting for metrics dropped during resource, scope, or metric validation in go.opentelemetry.io/otel/exporters/prometheus. (#​9465)
  • Warn and ignore invalid compression environment values instead of overriding existing settings in
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, and
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​9516)
  • Ignore non-positive batch span processor environment sizes in go.opentelemetry.io/otel/sdk/trace and fall back to the defaults. (#​9490)
  • Reject AggregationBase2ExponentialHistogram with a MaxScale below the minimum of -10, and report MaxScale instead of MaxSize when MaxScale is above the maximum of 20, in go.opentelemetry.io/otel/sdk/metric. (#​9506)
  • Use prometheus_http_text_metric_exporter for otel.component.type in go.opentelemetry.io/otel/exporters/prometheus. (#​9464)
  • Record error.type="rejected" (and rpc.status_code="OK" for gRPC) on partial-success rejections in self-observability metrics for go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​9454)
  • Remove the duplicated /metric package path segment from otel.component.type (go.opentelemetry.io/otel/sdk/metric.ManualReader) in go.opentelemetry.io/otel/sdk/metric. (#​9463)
  • Do not record a duplicate otel.sdk.metric_reader.collection.duration measurement per scrape in go.opentelemetry.io/otel/exporters/prometheus when OTEL_GO_X_OBSERVABILITY=true. (#​9462)
  • Record otel.span.parent.origin as "none" on otel.sdk.span.started when a span is started with trace.WithNewRoot in go.opentelemetry.io/otel/sdk/trace. (#​9453)
  • Do not record a queue_full span drop on otel.sdk.processor.span.processed when BatchSpanProcessor.ForceFlush is canceled while the queue is full in go.opentelemetry.io/otel/sdk/trace. (#​9461)
  • Record otel.sdk.processor.span.processed in SimpleSpanProcessor.OnEnd only when exporting a sampled span in go.opentelemetry.io/otel/sdk/trace. (#​9460)
  • Keep experimental Finish Sum collections within the cardinality limit and preserve valid timestamps when new series are recorded concurrently in go.opentelemetry.io/otel/sdk/metric. (#​9251)
  • Ignore delayed Finish calls that predate a Sum series lifetime in go.opentelemetry.io/otel/sdk/metric. (#​9252)
  • Align gRPC endpoint URL handling across go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. Preserve Unix socket targets configured through OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_LOGS_ENDPOINT, or WithEndpointURL, resolver targets, and scheme-less URLs with an authority using only the host and port, while retaining the configured transport security for URL options with unknown or empty schemes. (#​9331)
  • Skip measurement preparation and recording for disabled observability instruments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#​9318)
  • Export non-finite floating-point values as strings in go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#​9307)
  • Export non-finite floating-point values as strings in go.opentelemetry.io/otel/exporters/stdout/stdoutmetric. (#​9308)
  • Retry transient OTLP/HTTP network failures such as timeouts, EOF, connection reset, and connection refused in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​9300)
  • Export non-finite floating-point values as strings and retain populated instrumentation scope attributes in go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#​9150)
  • Interpret OTLP log exporter compression environment variables case-insensitively in
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. WithCompressor in
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc now interprets its argument
    case-insensitively as well, where a differently-cased value previously reported an unknown
    compressor and fell back to no compression. (#​9230)
  • Record diagnostics via the internal logger for recovered retryable export failures in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​9281)
  • Prevent underflowed measurements from updating sum, min, or max in exponential histograms in go.opentelemetry.io/otel/sdk/metric. (#​8077)
  • Report the module's registered version from Version() in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, which also corrects the exporter version sent in the default User-Agent. (#​9232)
  • Preserve caller-provided metric data when removing timestamps from output in go.opentelemetry.io/otel/exporters/stdout/stdoutmetric. (#​8843)
  • Report dropped event and link counts in the span snapshot when the event or link limit is 0 in go.opentelemetry.io/otel/sdk/trace.
    Previously, an ended span reported 0 dropped events and links even though the recording span had counted them. (#​9238)
  • Decompress gzip OTLP/HTTP log responses when the request sets Accept-Encoding explicitly in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​9181)
  • Preserve escaped endpoint paths and generic endpoint base segments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​9149)
  • Reject overflowing log export interval and timeout environment variables in go.opentelemetry.io/otel/sdk/log. (#​9081)
  • Ignore nil writers passed to WithWriter in go.opentelemetry.io/otel/exporters/stdout/stdouttrace and
    go.opentelemetry.io/otel/exporters/stdout/stdoutmetric, preserving the default or previously configured writer or encoder. (#​9164)
  • Ignore nil writers passed to WithWriter in go.opentelemetry.io/otel/exporters/stdout/stdoutlog, retaining the default or previously configured writer to prevent a panic during log export. (#​9148)
  • Ignore nil span processors passed to WithSpanProcessor and TracerProvider.RegisterSpanProcessor in go.opentelemetry.io/otel/sdk/trace. (#​9168)
  • Ignore nil processors passed to WithProcessor in go.opentelemetry.io/otel/sdk/log to prevent panics during log emission and provider lifecycle operations. (#​9170)
  • Ignore nil views passed to WithView in go.opentelemetry.io/otel/sdk/metric, preserving valid views and their order. (#​9167)
  • Ignore nil samplers passed to ParentBased sampler options in go.opentelemetry.io/otel/sdk/trace. (#​9169)
  • Ignore nil temporality, aggregation, cardinality limit selector, and producer options in go.opentelemetry.io/otel/sdk/metric, including aggregation selector and producer options used by go.opentelemetry.io/otel/exporters/prometheus. (#​9166)
  • Ignore nil loggers passed to WithLogger in go.opentelemetry.io/otel/exporters/zipkin, preserving the default or previously configured logger. (#​9165)
  • Ignore nil callbacks passed to WithInt64Callback and WithFloat64Callback in go.opentelemetry.io/otel/metric, and to RegisterCallback in go.opentelemetry.io/otel/sdk/metric, including delegation through global meters in go.opentelemetry.io/otel, to prevent panics during metric collection. (#​9171)
  • Preserve input span event timestamps when using WithoutTimestamps in go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#​9092)
  • Bound export retries by WithTimeout in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, and
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​9080)
  • Fix a data race in go.opentelemetry.io/otel/bridge/opentracing when OpenTracing baggage is read concurrently with Span.SetBaggageItem. (#​9049)
  • Pass the context containing the new span to the auto-instrumentation hook in go.opentelemetry.io/otel/trace. (#​9029)
  • Encode an empty attribute value nested in a slice or map as {} in go.opentelemetry.io/otel/trace, so the auto-instrumentation span that carries it is no longer dropped. (#​9182)
  • Prevent processor operations from overlapping processor shutdown or being invoked after TracerProvider shutdown in go.opentelemetry.io/otel/sdk/trace. (#​9070)
  • Match the response Content-Type media type case-insensitively and ignore parameters when reading OTLP/HTTP protobuf partial-success responses in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​9188)
  • Match the response Content-Type media type case-insensitively and ignore parameters when reading OTLP/HTTP partial-success responses in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​9303)
  • Do not report an error through the global error handler when WithCompressor("none") is passed to go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc or go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#​9056)
  • Interpret OTEL_EXPORTER_OTLP_COMPRESSION, OTEL_EXPORTER_OTLP_METRICS_COMPRESSION, and OTEL_EXPORTER_OTLP_TRACES_COMPRESSION case-insensitively in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​9268)
  • Decode gzip responses with explicitly configured Accept-Encoding headers in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, enforcing response limits after decompression. (#​9203)
  • Preserve exemplar trace and span IDs in go.opentelemetry.io/otel/exporters/prometheus by dropping filtered attribute labels instead of the whole exemplar when the combined exemplar labels would exceed the prometheus client-go limit. (#​9031)
  • Do not emit the target_info metric in go.opentelemetry.io/otel/exporters/prometheus when the OpenTelemetry Resource is empty. (#​9296)
  • Populate the Prometheus created timestamp from StartTime on monotonic Sum (counter) and Histogram metrics in go.opentelemetry.io/otel/exporters/prometheus. (#​9297)
  • Order concatenated values of colliding sanitized attribute keys in go.opentelemetry.io/otel/exporters/prometheus by the lexicographical order of the original keys instead of sorting by attribute value. (#​9294)
  • Do not add empty trace_id or span_id exemplar labels in go.opentelemetry.io/otel/exporters/prometheus when an exemplar has no trace or span ID. (#​9295)
  • Treat unix-abstract:// endpoints from OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_TRACES_ENDPOINT as insecure in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, matching unix:// endpoints and the metric exporters. (#​9261)
  • Preserve ScopeMetrics slice capacity in PeriodicReader's sync.Pool by resetting slice length instead of overwriting the struct, avoiding per-cycle heap allocations in go.opentelemetry.io/otel/sdk/metric. (#​8535)
  • Export strings that are not valid UTF-8 without failing the whole export request in go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (GHSA-49pp-h3pg-v763)
  • Reject negative and overflowing OTEL_EXPORTER_OTLP_TIMEOUT and OTEL_EXPORTER_OTLP_TRACES_TIMEOUT values in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​9338)
    Previously, such a value produced a negative timeout that removed the export deadline.
  • Reject negative and overflowing OTEL_EXPORTER_OTLP_TIMEOUT and OTEL_EXPORTER_OTLP_METRICS_TIMEOUT values in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​9338)
    Previously, such a value produced a negative timeout that removed the export deadline.
  • Trim surrounding whitespace from an OTEL_RESOURCE_ATTRIBUTES value that fails percent-decoding in go.opentelemetry.io/otel/sdk/resource. (#​9442)
Removed
  • Remove the experimental WithUnsafeAttributes option from go.opentelemetry.io/otel/metric/x.
    Use metric.WithAttributes after any other attribute options to preserve precedence for duplicate keys. (#​9276)
  • Remove the deprecated WithoutUnits and WithoutCounterSuffixes options in go.opentelemetry.io/otel/exporters/prometheus.
    Use WithTranslationStrategy instead. (#​9275)
  • Remove support for the deprecated OTEL_GO_X_CARDINALITY_LIMIT environment variable in go.opentelemetry.io/otel/sdk/metric.
    Use WithCardinalityLimit instead, including WithCardinalityLimit(0) to disable the default limit of 2000. (#​9210)

What's Changed

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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 these updates 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 commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ 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):

  • 4 additional dependencies were updated

Details:

Package Change
go.opentelemetry.io/auto/sdk v1.2.1 -> v1.2.2
go.opentelemetry.io/otel/log v1.47.0 -> v1.48.0
go.opentelemetry.io/otel/metric v1.47.0 -> v1.48.0
go.yaml.in/yaml/v3 v3.0.5 -> v3.0.6

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.

0 participants