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)
[1.30.0/0.52.0/0.6.0/0.0.9] 2024-09-09
Added
Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#5739)
The WithResource option for NewMeterProvider now merges the provided resources with the ones from environment variables. (#5773)
The WithResource option for NewLoggerProvider now merges the provided resources with the ones from environment variables. (#5773)
Add UTF-8 support to go.opentelemetry.io/otel/exporters/prometheus. (#5755)
Fixed
Fix memory leak in the global MeterProvider when identical instruments are repeatedly created. (#5754)
Fix panic on instruments creation when setting meter provider. (#5758)
Fix an issue where SetMeterProvider in go.opentelemetry.io/otel might miss the delegation for instruments and registries. (#5780)
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/exporters/otlp/otlptrace from 1.28.0 to 1.31.0.
Changelog
Sourced from go.opentelemetry.io/otel/exporters/otlp/otlptrace's changelog.
... (truncated)
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