Skip to content

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

Compare
Choose a tag to compare
@dashpole dashpole released this 11 Oct 17:04
· 367 commits to main since this release
v1.31.0
bc2fe88

Overview

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)

What's Changed

  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.109.0 by @renovate in #5802
  • Enable exemplars by default by @dashpole in #5778
  • fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.55.0 by @renovate in #5809
  • fix(deps): update module google.golang.org/grpc to v1.66.2 by @renovate in #5807
  • fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.5.0 by @renovate in #5808
  • log: Introduce EnabledParameters by @pellared in #5791
  • Group the google/x renovabot upgrades by @dmathieu in #5813
  • Fix gosec overflow alerts by @dmathieu in #5799
  • fix(deps): update module github.com/golangci/golangci-lint to v1.61.0 by @renovate in #5796
  • doc(metric): fix incorrect explanation of how metric.WithAttributes works by @wzy9607 in #5822
  • simplify conversions from slice to array by @snowcrumble in #5818
  • Move global random number generator to randRes field by @MrAlias in #5819
  • Fix duplicate logs across resources by @pree-dew in #5803
  • fix(deps): update module github.com/prometheus/client_golang to v1.20.4 by @renovate in #5826
  • fix(deps): update module google.golang.org/grpc to v1.67.0 by @renovate in #5831
  • [chore]: enable bool-compare rule from testifylint by @mmorel-35 in #5829
  • [chore]: enable len and empty rules from testifylint by @mmorel-35 in #5832
  • [chore]: enable suite-extra-assert-call rule from testifylint by @mmorel-35 in #5833
  • chore(deps): update module github.com/klauspost/compress to v1.17.10 by @renovate in #5834
  • [chore]: enable error-is-as rule from testifylint by @mmorel-35 in #5836
  • chore(deps): update googleapis to 9d4c2d2 by @renovate in #5841
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.110.0 by @renovate in #5842
  • chore(deps): update module github.com/rogpeppe/go-internal to v1.13.1 by @renovate in #5835
  • [chore]: enable error-nil rule from testifylint by @mmorel-35 in #5843
  • clarify that users should not directly use the log bridge API by @dashpole in #5837
  • log: Make Record not comparable by @pellared in #5847
  • [chore]: enable expected-actual rule from testifylint by @mmorel-35 in #5848
  • Move exemplar types to non-internal package by @dashpole in #5747
  • [chore]: enable negative-positive rule from testifylint by @mmorel-35 in #5849
  • chore(deps): update googleapis to af27646 by @renovate in #5855
  • fix(deps): update module google.golang.org/grpc to v1.67.1 by @renovate in #5857
  • Deprecate examples and redirect to contrib by @pellared in #5854
  • Move @MadVikingGod to Emeritus status by @MrAlias in #5856
  • fix(deps): update module github.com/prometheus/common to v0.60.0 by @renovate in #5860
  • chore(deps): update codecov/codecov-action action to v4.6.0 by @renovate in #5859
  • Rename SampledFilter to TraceBasedFilter by @dashpole in #5862
  • Authenticate link checking requests by @dmathieu in #5865
  • [doc] sdk/log: Do not create instances of Record by @pellared in #5871
  • Move @hanyuancheung to Emeritus status by @pellared in #5863
  • Fix timer channel drain to avoid hanging in Go 1.23 by @dany74q in #5869
  • Fix delegation for global MeterProviders by @Jesse-Bonfire in #5828
  • fix(deps): update golang.org/x by @renovate in #5872
  • Performance improvements for recordingSpan SetAttributes and addOverCapAttrs by @boekkooi-impossiblecloud in #5864
  • fix(deps): update module google.golang.org/protobuf to v1.35.1 by @renovate in #5875
  • chore(deps): update googleapis to 5fefd90 by @renovate in #5876
  • Reduce newEvictedQueueLink and newEvictedQueueEvent memory allocations by @boekkooi-impossiblecloud in #5858
  • chore(deps): update lycheeverse/lychee-action action to v2 by @renovate in #5878
  • Performance improvements for the trace SDK in Span. by @boekkooi-impossiblecloud in #5874
  • fix(deps): update golang.org/x/exp digest to f66d83c by @renovate in #5880
  • Add an option to configure the exporter buffer of the BatchProcessor by @Frapschen in #5877
  • Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 by @dashpole in #5883

New Contributors

Full Changelog: v1.30.0...v1.31.0