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

fix(deps): update go opentelemetry packages and libraries #265

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/XSAM/otelsql v0.32.0 -> v0.35.0 age adoption passing confidence
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.53.0 -> v0.57.0 age adoption passing confidence
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho v0.53.0 -> v0.57.0 age adoption passing confidence
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 -> v0.57.0 age adoption passing confidence
go.opentelemetry.io/otel v1.28.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 -> 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/otlptracehttp v1.28.0 -> v1.32.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/stdout/stdouttrace 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/trace v1.28.0 -> v1.32.0 age adoption passing confidence

Release Notes

XSAM/otelsql (github.com/XSAM/otelsql)

v0.35.0

Compare Source

Changed
  • Upgrade OTel to version v1.31.0/v0.53.0. (#​374)

What's Changed

Full Changelog: XSAM/otelsql@v0.34.0...v0.35.0

v0.34.0

Compare Source

The minimum supported Go version is 1.22.

Added
  • Go 1.23 to supported versions. (#​361)
Changed
  • The Open method uses the dataSourceName when calling sql.Open. (#​359)

    This change improves compatibility with certain drivers that perform a verification of the dataSourceName before establishing a connection.

  • Upgrade OTel to version v1.30.0/v0.52.0. (#​356)

Removed

v0.33.0

Compare Source

0.33.0 - 2024-08-27

Added
  • WithInstrumentAttributesGetter option provides additional attributes when latency histogram is recorded. (#​334)
Changed
  • Upgrade OTel to version v1.29.0/v0.51.0. (#​336)
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.o

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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
Contributor Author

renovate bot commented Aug 23, 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):

  • 20 additional dependencies were updated

Details:

Package Change
golang.org/x/oauth2 v0.22.0 -> v0.23.0
github.com/bytedance/sonic v1.11.9 -> v1.12.4
github.com/bytedance/sonic/loader v0.1.1 -> v0.2.1
github.com/gabriel-vasile/mimetype v1.4.4 -> v1.4.6
github.com/klauspost/cpuid/v2 v2.2.8 -> v2.2.9
golang.org/x/arch v0.8.0 -> v0.11.0
golang.org/x/sync v0.8.0 -> v0.9.0
golang.org/x/time v0.5.0 -> v0.7.0
google.golang.org/genproto/googleapis/api v0.0.0-20240711142825-46eb208f015d -> v0.0.0-20241104194629-dd2ea8efbc28
google.golang.org/genproto/googleapis/rpc v0.0.0-20240722135656-d784300faade -> v0.0.0-20241104194629-dd2ea8efbc28
github.com/go-playground/validator/v10 v10.22.0 -> v10.22.1
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 -> v2.23.0
github.com/pelletier/go-toml/v2 v2.2.2 -> v2.2.3
go.opentelemetry.io/otel/metric v1.28.0 -> v1.32.0
golang.org/x/crypto v0.26.0 -> v0.28.0
golang.org/x/net v0.28.0 -> v0.30.0
golang.org/x/sys v0.23.0 -> v0.27.0
golang.org/x/text v0.17.0 -> v0.20.0
google.golang.org/grpc v1.65.0 -> v1.67.1
google.golang.org/protobuf v1.34.2 -> v1.35.1

@renovate renovate bot requested review from a team as code owners August 23, 2024 20:35
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch 2 times, most recently from 573b056 to eecb332 Compare August 24, 2024 00:41
@renovate renovate bot changed the title fix(deps): update go opentelemetry packages and libraries to v1.29.0 fix(deps): update go opentelemetry packages and libraries Aug 24, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from eecb332 to cb27a88 Compare August 28, 2024 01:51
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch 3 times, most recently from 9c40329 to 95a48fc Compare September 15, 2024 06:56
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch 3 times, most recently from ac13603 to 191c7f5 Compare October 14, 2024 20:09
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from 191c7f5 to 145cbc3 Compare November 8, 2024 18:52
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from 145cbc3 to 26f2d61 Compare November 8, 2024 21:06
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