1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-03-17 20:57:51 +02:00
David Ashpole bc2fe88756
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 ()
### 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. (, )
- Add `WithExportBufferSize` option to log batch processor.()

### Changed

- Enable exemplars by default in `go.opentelemetry.io/otel/sdk/metric`.
Exemplars can be disabled by setting
`OTEL_METRICS_EXEMPLAR_FILTER=always_off` ()
- `Logger.Enabled` in `go.opentelemetry.io/otel/log` now accepts a newly
introduced `EnabledParameters` type instead of `Record`. ()
- `FilterProcessor.Enabled` in
`go.opentelemetry.io/otel/sdk/log/internal/x` now accepts
`EnabledParameters` instead of `Record`. ()
- The `Record` type in `go.opentelemetry.io/otel/log` is no longer
comparable. ()
- Performance improvements for the trace SDK `SetAttributes` method in
`Span`. ()
- Reduce memory allocations for the `Event` and `Link` lists in `Span`.
()
- Performance improvements for the trace SDK `AddEvent`, `AddLink`,
`RecordError` and `End` methods in `Span`. ()

### Deprecated

- Deprecate all examples under `go.opentelemetry.io/otel/example` as
they are moved to [Contrib
repository](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples).
()

### Fixed

- The race condition for multiple `FixedSize` exemplar reservoirs
identified in  is resolved. ()
- Fix log records duplication in case of heterogeneous resource
attributes by correctly mapping each log record to it's resource and
scope. ()
- Fix timer channel drain to avoid hanging on Go 1.23. ()
- Fix delegation for global meter providers, and panic when calling
otel.SetMeterProvider. ()
- Change the `reflect.TypeOf` to use a nil pointer to not allocate on
the heap unless necessary. ()
2024-10-11 12:59:27 -04:00

10 lines
251 B
Go

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package sdk // import "go.opentelemetry.io/otel/sdk"
// Version is the current release version of the OpenTelemetry SDK in use.
func Version() string {
return "1.31.0"
}