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

chore(all): update opentelemetry-go monorepo to v1.32.0 #4553

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/otel v1.28.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel v1.24.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel v1.29.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.23.1 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.23.1 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/metric v1.24.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/metric v1.28.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.28.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.24.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.22.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.29.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk/metric v1.23.1 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk/metric v1.22.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk/metric v1.28.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/trace v1.28.0 -> v1.32.0 age adoption passing confidence

Release Notes

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

v1.32.0: /v0.54.0/v0.8.0/v0.0.11

Compare Source

Overview
Added
  • Add go.opentelemetry.io/otel/sdk/metric/exemplar.AlwaysOffFilter, which can be used to disable exemplar recording. (#​5850)
  • Add go.opentelemetry.io/otel/sdk/metric.WithExemplarFilter, which can be used to configure the exemplar filter used by the metrics SDK. (#​5850)
  • Add ExemplarReservoirProviderSelector and DefaultExemplarReservoirProviderSelector to go.opentelemetry.io/otel/sdk/metric, which defines the exemplar reservoir to use based on the aggregation of the metric. (#​5861)
  • Add ExemplarReservoirProviderSelector to go.opentelemetry.io/otel/sdk/metric.Stream to allow using views to configure the exemplar reservoir to use for a metric. (#​5861)
  • Add ReservoirProvider, HistogramReservoirProvider and FixedSizeReservoirProvider to go.opentelemetry.io/otel/sdk/metric/exemplar to make it convenient to use providers of Reservoirs. (#​5861)
  • The go.opentelemetry.io/otel/semconv/v1.27.0 package.
    The package contains semantic conventions from the v1.27.0 version of the OpenTelemetry Semantic Conventions. (#​5894)
  • Add Attributes attribute.Set field to Scope in go.opentelemetry.io/otel/sdk/instrumentation. (#​5903)
  • Add Attributes attribute.Set field to ScopeRecords in go.opentelemetry.io/otel/log/logtest. (#​5927)
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc adds instrumentation scope attributes. (#​5934)
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp adds instrumentation scope attributes. (#​5934)
  • go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc adds instrumentation scope attributes. (#​5935)
  • go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp adds instrumentation scope attributes. (#​5935)
  • go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc adds instrumentation scope attributes. (#​5933)
  • go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp adds instrumentation scope attributes. (#​5933)
  • go.opentelemetry.io/otel/exporters/prometheus adds instrumentation scope attributes in otel_scope_info metric as labels. (#​5932)
Changed
  • Support scope attributes and make them as identifying for Tracer in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/trace. (#​5924)
  • Support scope attributes and make them as identifying for Meter in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/metric. (#​5926)
  • Support scope attributes and make them as identifying for Logger in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/log. (#​5925)
  • Make schema URL and scope attributes as identifying for Tracer in go.opentelemetry.io/otel/bridge/opentracing. (#​5931)
  • Clear unneeded slice elements to allow GC to collect the objects in go.opentelemetry.io/otel/sdk/metric and go.opentelemetry.io/otel/sdk/trace. (#​5804)
Fixed
  • Global MeterProvider registration unwraps global instrument Observers, the undocumented Unwrap() methods are now private. (#​5881)
  • go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc now keeps the metadata already present in the context when WithHeaders is used. (#​5892)
  • go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc now keeps the metadata already present in the context when WithHeaders is used. (#​5911)
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc now keeps the metadata already present in the context when WithHeaders is used. (#​5915)
  • Fix go.opentelemetry.io/otel/exporters/prometheus trying to add exemplars to Gauge metrics, which is unsupported. (#​5912)
  • Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#​5944)
  • Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​5944)
  • Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​5944)
  • Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​5944)
  • Fix incorrect metrics generated from callbacks when multiple readers are used in go.opentelemetry.io/otel/sdk/metric. (#​5900)
Removed
What's Changed
New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.31.0...v1.32.0

v1.31.0: /v0.53.0/v0.7.0/v0.0.10

Compare Source

Added
  • Add go.opentelemetry.io/otel/sdk/metric/exemplar package which includes Exemplar, Filter, TraceBasedFilter, AlwaysOnFilter, HistogramReservoir, FixedSizeReservoir, Reservoir, Value and ValueType types. These will be used for configuring the exemplar reservoir for the metrics sdk. (#​5747, #​5862)
  • Add WithExportBufferSize option to log batch processor.(#​5877)
Changed
  • Enable exemplars by default in go.opentelemetry.io/otel/sdk/metric. Exemplars can be disabled by setting OTEL_METRICS_EXEMPLAR_FILTER=always_off (#​5778)
  • Logger.Enabled in go.opentelemetry.io/otel/log now accepts a newly introduced EnabledParameters type instead of Record. (#​5791)
  • FilterProcessor.Enabled in go.opentelemetry.io/otel/sdk/log/internal/x now accepts EnabledParameters instead of Record. (#​5791)
  • The Record type in go.opentelemetry.io/otel/log is no longer comparable. (#​5847)
  • Performance improvements for the trace SDK SetAttributes method in Span. (#​5864)
  • Reduce memory allocations for the Event and Link lists in Span. (#​5858)
  • Performance improvements for the trace SDK AddEvent, AddLink, RecordError and End methods in Span. (#​5874)
Deprecated
Fixed
  • The race condition for multiple FixedSize exemplar reservoirs identified in #​5814 is resolved. (#​5819)
  • Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#​5803)
  • Fix timer channel drain to avoid hanging on Go 1.23. (#​5868)
  • Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (#​5827)
  • Change the reflect.TypeOf to use a nil pointer to not allocate on the heap unless necessary. (#​5827)

v1.30.0: /v0.52.0/v0.6.0/v0.0.9

Compare Source

Overview
Added
  • Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#​5739)
  • The WithResource option for NewMeterProvider now merges the provided resources with the ones from environment variables. (#​5773)
  • The WithResource option for NewLoggerProvider now merges the provided resources with the ones from environment variables. (#​5773)
  • Add UTF-8 support to go.opentelemetry.io/otel/exporters/prometheus. (#​5755)
Fixed
  • Fix memory leak in the global MeterProvider when identical instruments are repeatedly created. (#​5754)
  • Fix panic on instruments creation when setting meter provider. (#​5758)
  • Fix an issue where SetMeterProvider in go.opentelemetry.io/otel might miss the delegation for instruments and registries. (#​5780)
Removed
What's Changed
New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.29.0...v1.30.0

v1.29.0: /v0.51.0/v0.5.0

Compare Source

Overview

This release is the last to support [Go 1.21]. The next release will require at least [Go 1.22].

Added
  • Add MacOS ARM64 platform to the compatibility testing suite. (#​5577)
  • Add InstrumentationScope field to SpanStub in go.opentelemetry.io/otel/sdk/trace/tracetest, as a replacement for the deprecated InstrumentationLibrary. (#​5627)
  • Make the initial release of go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. This new module contains an OTLP exporter that transmits log telemetry using gRPC. This module is unstable and breaking changes may be introduced. See our versioning policy for more information about these stability guarantees. (#​5629)
  • Add Walk function to TraceState in go.opentelemetry.io/otel/trace to iterate all the key-value pairs. (#​5651)
  • Bridge the trace state in go.opentelemetry.io/otel/bridge/opencensus. (#​5651)
  • Zero value of SimpleProcessor in go.opentelemetry.io/otel/sdk/log no longer panics. (#​5665)
  • The FilterProcessor interface type is added in go.opentelemetry.io/otel/sdk/log/internal/x. This is an optional and experimental interface that log Processors can implement to instruct the Logger if a Record will be processed or not. It replaces the existing Enabled method that is removed from the Processor interface itself. It does not fall within the scope of the OpenTelemetry Go versioning and stability policy and it may be changed in backwards incompatible ways or removed in feature releases. (#​5692)
  • Support [Go 1.23]. (#​5720)
Changed
  • NewMemberRaw, NewKeyProperty and NewKeyValuePropertyRaw in go.opentelemetry.io/otel/baggage allow UTF-8 string in key. (#​5132)
  • Processor.OnEmit in go.opentelemetry.io/otel/sdk/log now accepts a pointer to Record instead of a value so that the record modifications done in a processor are propagated to subsequent registered processors. (#​5636)
  • SimpleProcessor.Enabled in go.opentelemetry.io/otel/sdk/log now returns false if the exporter is nil. (#​5665)
  • Update the concurrency requirements of Exporter in go.opentelemetry.io/otel/sdk/log. (#​5666)
  • SimpleProcessor in go.opentelemetry.io/otel/sdk/log synchronizes OnEmit calls. (#​5666)
  • The Processor interface in go.opentelemetry.io/otel/sdk/log no longer includes the Enabled method. See the FilterProcessor interface type added in go.opentelemetry.io/otel/sdk/log/internal/x to continue providing this functionality. (#​5692)
  • The SimpleProcessor type in go.opentelemetry.io/otel/sdk/log is no longer comparable. (#​5693)
  • The BatchProcessor type in go.opentelemetry.io/otel/sdk/log is no longer comparable. (#​5693)
Fixed
  • Correct comments for the priority of the WithEndpoint and WithEndpointURL options and their corresponding environment variables in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​5584)
  • Pass the underlying error rather than a generic retry-able failure in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​5541)
  • Correct the Tracer, Meter,

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.

Copy link

⚠️ Artifact update problem

Renovate failed to update artifacts 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: opentelemetry/instrumentation/app/go.sum
Command failed: go get -d -t ./...
go: module go.opentelemetry.io/otel@v1.32.0 requires go >= 1.22; switching to go1.22.9
go: downloading go1.22.9 (linux/amd64)
go: download go1.22.9: golang.org/toolchain@v0.0.1-go1.22.9.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

File name: opentelemetry/trace/go.sum
Command failed: go get -d -t ./...
go: module go.opentelemetry.io/otel@v1.32.0 requires go >= 1.22; switching to go1.22.9
go: downloading go1.22.9 (linux/amd64)
go: download go1.22.9: golang.org/toolchain@v0.0.1-go1.22.9.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

File name: pubsub/go.sum
Command failed: go get -d -t ./...
go: module go.opentelemetry.io/otel@v1.32.0 requires go >= 1.22; switching to go1.22.9
go: downloading go1.22.9 (linux/amd64)
go: download go1.22.9: golang.org/toolchain@v0.0.1-go1.22.9.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

File name: run/custom-metrics/go.sum
Command failed: go get -d -t ./...
go: module go.opentelemetry.io/otel@v1.32.0 requires go >= 1.22; switching to go1.22.9
go: downloading go1.22.9 (linux/amd64)
go: download go1.22.9: golang.org/toolchain@v0.0.1-go1.22.9.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

File name: spanner/opentelemetry/go.sum
Command failed: go get -d -t ./...
go: module go.opentelemetry.io/otel@v1.32.0 requires go >= 1.22; switching to go1.22.9
go: downloading go1.22.9 (linux/amd64)
go: download go1.22.9: golang.org/toolchain@v0.0.1-go1.22.9.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

File name: spanner/opentelemetry/tracing/go.sum
Command failed: go get -d -t ./...
go: module go.opentelemetry.io/otel@v1.32.0 requires go >= 1.22; switching to go1.22.9
go: downloading go1.22.9 (linux/amd64)
go: download go1.22.9: golang.org/toolchain@v0.0.1-go1.22.9.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

@renovate-bot renovate-bot requested review from a team as code owners November 11, 2024 00:22
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Nov 11, 2024
@telpirion telpirion self-assigned this Nov 12, 2024
Copy link

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants