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
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)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps go.opentelemetry.io/otel/sdk from 1.30.0 to 1.31.0.
Changelog
Sourced from go.opentelemetry.io/otel/sdk's changelog.
Commits
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 inSpan
. (#5874)8e9baf2
chore(deps): update lycheeverse/lychee-action action to v2 (#5878)8fbaa97
ReducenewEvictedQueueLink
andnewEvictedQueueEvent
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 forrecordingSpan
SetAttributes
and `addOverCapA...9e791a6
fix(deps): update golang.org/x (#5872)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show