Skip to content

Commit

Permalink
Bump go.opentelemetry.io/otel/sdk from 1.30.0 to 1.31.0 (#533)
Browse files Browse the repository at this point in the history
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.30.0 to 1.31.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md">go.opentelemetry.io/otel/sdk's changelog</a>.</em></p>
<blockquote>
<h2>[1.31.0/0.53.0/0.7.0/0.0.10] 2024-10-11</h2>
<h3>Added</h3>
<ul>
<li>Add <code>go.opentelemetry.io/otel/sdk/metric/exemplar</code> package which includes <code>Exemplar</code>, <code>Filter</code>, <code>TraceBasedFilter</code>, <code>AlwaysOnFilter</code>, <code>HistogramReservoir</code>, <code>FixedSizeReservoir</code>, <code>Reservoir</code>, <code>Value</code> and <code>ValueType</code> types. These will be used for configuring the exemplar reservoir for the metrics sdk. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5747">#5747</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5862">#5862</a>)</li>
<li>Add <code>WithExportBufferSize</code> option to log batch processor.(<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5877">#5877</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Enable exemplars by default in <code>go.opentelemetry.io/otel/sdk/metric</code>. Exemplars can be disabled by setting <code>OTEL_METRICS_EXEMPLAR_FILTER=always_off</code> (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5778">#5778</a>)</li>
<li><code>Logger.Enabled</code> in <code>go.opentelemetry.io/otel/log</code> now accepts a newly introduced <code>EnabledParameters</code> type instead of <code>Record</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5791">#5791</a>)</li>
<li><code>FilterProcessor.Enabled</code> in <code>go.opentelemetry.io/otel/sdk/log/internal/x</code> now accepts <code>EnabledParameters</code> instead of <code>Record</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5791">#5791</a>)</li>
<li>The <code>Record</code> type in <code>go.opentelemetry.io/otel/log</code> is no longer comparable. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5847">#5847</a>)</li>
<li>Performance improvements for the trace SDK <code>SetAttributes</code> method in <code>Span</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5864">#5864</a>)</li>
<li>Reduce memory allocations for the <code>Event</code> and <code>Link</code> lists in <code>Span</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5858">#5858</a>)</li>
<li>Performance improvements for the trace SDK <code>AddEvent</code>, <code>AddLink</code>, <code>RecordError</code> and <code>End</code> methods in <code>Span</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5874">#5874</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>Deprecate all examples under <code>go.opentelemetry.io/otel/example</code> as they are moved to <a href="https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples">Contrib repository</a>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5854">#5854</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>The race condition for multiple <code>FixedSize</code> exemplar reservoirs identified in <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5814">#5814</a> is resolved. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5819">#5819</a>)</li>
<li>Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5803">#5803</a>)</li>
<li>Fix timer channel drain to avoid hanging on Go 1.23. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5868">#5868</a>)</li>
<li>Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5827">#5827</a>)</li>
<li>Change the <code>reflect.TypeOf</code> to use a nil pointer to not allocate on the heap unless necessary. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5827">#5827</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/bc2fe88756962b76eb43ea2fd92ed3f5b6491cc0"><code>bc2fe88</code></a> Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5883">#5883</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/a7d5c1aef7a99e79eab0287327d3731ee2c2e3b5"><code>a7d5c1a</code></a> Add an option to configure the exporter buffer of the BatchProcessor (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5877">#5877</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/eb9279bed2db7f8e91dd2086cc84515e5148c4c9"><code>eb9279b</code></a> fix(deps): update golang.org/x/exp digest to f66d83c (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5880">#5880</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/64416533d5cc340a8cc53d98084604758283af09"><code>6441653</code></a> Performance improvements for the trace SDK in <code>Span</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5874">#5874</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/8e9baf2165e9ae2907eb01bd96ff58b8e51eeb9e"><code>8e9baf2</code></a> chore(deps): update lycheeverse/lychee-action action to v2 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5878">#5878</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/8fbaa970843f0899228bc19c1e45a31f5a5bb73e"><code>8fbaa97</code></a> Reduce <code>newEvictedQueueLink</code> and <code>newEvictedQueueEvent</code> memory allocations (#...</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/4a911f965b9a159bb64334e412f6e90fc0117c9e"><code>4a911f9</code></a> chore(deps): update googleapis to 5fefd90 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5876">#5876</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/98cbdcb9a68c2862d16791e1a0954365c6addfc4"><code>98cbdcb</code></a> fix(deps): update module google.golang.org/protobuf to v1.35.1 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5875">#5875</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/3cbd9671528117454519809f9292fb264415cf38"><code>3cbd967</code></a> Performance improvements for <code>recordingSpan</code> <code>SetAttributes</code> and `addOverCapA...</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/9e791a62bad76216fcf286eccb6c3d33b2ba0d26"><code>9e791a6</code></a> fix(deps): update golang.org/x (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5872">#5872</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-go/compare/v1.30.0...v1.31.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.opentelemetry.io/otel/sdk&package-manager=go_modules&previous-version=1.30.0&new-version=1.31.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>
  • Loading branch information
mergify[bot] authored Oct 14, 2024
2 parents 2439993 + aabde3b commit dae0625
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0
go.opentelemetry.io/otel v1.31.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.30.0
go.opentelemetry.io/otel/sdk v1.30.0
go.opentelemetry.io/otel/sdk v1.31.0
go.opentelemetry.io/otel/trace v1.31.0
go.uber.org/zap v1.27.0
golang.org/x/net v0.30.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.30.0 h1:m0yTi
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.30.0/go.mod h1:wBQbT4UekBfegL2nx0Xk1vBcnzyBPsIVm9hRG4fYcr4=
go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE=
go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY=
go.opentelemetry.io/otel/sdk v1.30.0 h1:cHdik6irO49R5IysVhdn8oaiR9m8XluDaJAs4DfOrYE=
go.opentelemetry.io/otel/sdk v1.30.0/go.mod h1:p14X4Ok8S+sygzblytT1nqG98QG2KYKv++HE0LY/mhg=
go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk=
go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0=
go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys=
go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A=
go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0=
Expand Down

0 comments on commit dae0625

Please sign in to comment.