Skip to content

go: Update module go.opentelemetry.io/otel/metric to v1.31.0

This MR contains the following updates:

Package Type Update Change
go.opentelemetry.io/otel/metric require minor v1.30.0 -> v1.31.0

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

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

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)

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading