Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update opentelemetry-go monorepo to v1.32.0 #141

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 21, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/otel v1.26.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/metric v1.26.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/trace v1.26.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, and Logger names used in go.opentelemetry.io/otel/example/dice. (#​5612)
  • Correct the Tracer names used in go.opentelemetry.io/otel/example/namedtracer. (#​5612)
  • Correct the Tracer name used in go.opentelemetry.io/otel/example/opencensus. (#​5612)
  • Correct the Tracer and Meter names used in go.opentelemetry.io/otel/example/otel-collector. (#​5612)
  • Correct the Tracer names used in go.opentelemetry.io/otel/example/passthrough. (#​5612)
  • Correct the Meter name used in go.opentelemetry.io/otel/example/prometheus. (#​5612)
  • Correct the Tracer names used in go.opentelemetry.io/otel/example/zipkin. (#​5612)
  • Correct comments for the priority of the WithEndpoint and WithEndpointURL options and their corresponding environment variables in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​5641)
  • Correct comments for the priority of the WithEndpoint and WithEndpointURL options and their corresponding environment variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​5650)
  • Stop percent encoding header environment variables 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 (#​5705)
  • Remove invalid environment variable header keys 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 (#​5705)
Removed
  • The Enabled method of the SimpleProcessor in go.opentelemetry.io/otel/sdk/log is removed. (#​5692)
  • The Enabled method of the BatchProcessor in go.opentelemetry.io/otel/sdk/log is removed. (#​5692)
What's Changed

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 is behind base branch, 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 force-pushed the renovate/opentelemetry-go-monorepo branch from f108d99 to a35e7ed Compare July 2, 2024 22:15
@renovate renovate bot changed the title Update opentelemetry-go monorepo to v1.27.0 Update opentelemetry-go monorepo to v1.28.0 Jul 2, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from a35e7ed to 3b1d2ff Compare August 23, 2024 22:38
@renovate renovate bot changed the title Update opentelemetry-go monorepo to v1.28.0 Update opentelemetry-go monorepo to v1.29.0 Aug 23, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 3b1d2ff to 708c603 Compare September 11, 2024 01:43
@renovate renovate bot changed the title Update opentelemetry-go monorepo to v1.29.0 Update opentelemetry-go monorepo to v1.30.0 Sep 11, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 708c603 to 9b91c6e Compare October 11, 2024 18:01
@renovate renovate bot changed the title Update opentelemetry-go monorepo to v1.30.0 Update opentelemetry-go monorepo to v1.31.0 Oct 11, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 9b91c6e to add4c58 Compare November 8, 2024 19:06
@renovate renovate bot changed the title Update opentelemetry-go monorepo to v1.31.0 Update opentelemetry-go monorepo to v1.32.0 Nov 8, 2024
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