Sourced from go.opentelemetry.io/otel's changelog.
[1.31.0/0.53.0/0.7.0/0.0.10] 2024-10-11
Added
- Add
go.opentelemetry.io/otel/sdk/metric/exemplar
package which includesExemplar
,Filter
,TraceBasedFilter
,AlwaysOnFilter
,HistogramReservoir
,FixedSizeReservoir
,Reservoir
,Value
andValueType
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 settingOTEL_METRICS_EXEMPLAR_FILTER=always_off
(#5778)Logger.Enabled
ingo.opentelemetry.io/otel/log
now accepts a newly introducedEnabledParameters
type instead ofRecord
. (#5791)FilterProcessor.Enabled
ingo.opentelemetry.io/otel/sdk/log/internal/x
now acceptsEnabledParameters
instead ofRecord
. (#5791)- The
Record
type ingo.opentelemetry.io/otel/log
is no longer comparable. (#5847)- Performance improvements for the trace SDK
SetAttributes
method inSpan
. (#5864)- Reduce memory allocations for the
Event
andLink
lists inSpan
. (#5858)- Performance improvements for the trace SDK
AddEvent
,AddLink
,RecordError
andEnd
methods inSpan
. (#5874)Deprecated
- Deprecate all examples under
go.opentelemetry.io/otel/example
as they are moved to Contrib repository. (#5854)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)
bc2fe88
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883)a7d5c1a
Add an option to configure the exporter buffer of the BatchProcessor (#5877)eb9279b
fix(deps): update golang.org/x/exp digest to f66d83c (#5880)6441653
Performance improvements for the trace SDK in Span
. (#5874)8e9baf2
chore(deps): update lycheeverse/lychee-action action to v2 (#5878)8fbaa97
Reduce newEvictedQueueLink
and newEvictedQueueEvent
memory allocations (#...4a911f9
chore(deps): update googleapis to 5fefd90 (#5876)98cbdcb
fix(deps): update module google.golang.org/protobuf to v1.35.1 (#5875)3cbd967
Performance improvements for recordingSpan
SetAttributes
and `addOverCapA...9e791a6
fix(deps): update golang.org/x (#5872)