Skip to content

Commit f55d1ca

Browse files
chore(python-deps): bump opentelemetry-sdk from 1.41.1 to 1.42.1 (#5968)
Bumps [opentelemetry-sdk](https://github.com/open-telemetry/opentelemetry-python) from 1.41.1 to 1.42.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md">opentelemetry-sdk's changelog</a>.</em></p> <blockquote> <h2>Version 1.42.1/0.63b1 (2026-05-21)</h2> <h3>Fixed</h3> <ul> <li>Preserve the random trace ID flag when creating child spans instead of always setting the random trace id bit depending on the available trace id generator. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5241">#5241</a>)</li> </ul> <h2>Version 1.42.0/0.63b0 (2026-05-19)</h2> <h3>Added</h3> <ul> <li><code>opentelemetry-api</code>, <code>opentelemetry-sdk</code>: add support for 'random-trace-id' flags in W3C traceparent header trace flags. Implementations of <code>IdGenerator</code> that do randomly generate the 56 least significant bits, should also implement a <code>is_trace_id_random</code> methods that returns <code>True</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/4854">#4854</a>)</li> <li>logs: add exception support to Logger emit and LogRecord attributes (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/4908">#4908</a>)</li> <li><code>opentelemetry-exporter-otlp-proto-grpc</code>: make retryable gRPC error codes configurable for gRPC exporters (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/4917">#4917</a>)</li> <li><code>opentelemetry-sdk</code>: Add <code>create_logger_provider</code>/<code>configure_logger_provider</code> to declarative file configuration, enabling LoggerProvider instantiation from config files without reading env vars (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/4990">#4990</a>)</li> <li><code>opentelemetry-exporter-otlp-json-common</code>: add 'opentelemetry-exporter-otlp-json-common' package for OTLP JSON exporters (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/4996">#4996</a>)</li> <li><code>opentelemetry-sdk</code>: Add <code>service</code> resource detector support to declarative file configuration via <code>detection_development.detectors[].service</code> (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5003">#5003</a>)</li> <li><code>opentelemetry-docker-tests</code>: add docker-tests coverage of <code>opentelemetry-exporter-otlp-proto-grpc</code> and <code>opentelemetry-exporter-otlp-proto-http</code> metrics export (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5030">#5030</a>)</li> <li>Add <code>registry</code> keyword argument to <code>PrometheusMetricReader</code> to allow passing a custom Prometheus registry (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5055">#5055</a>)</li> <li>Add WeaverLiveCheck test util (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5088">#5088</a>)</li> <li><code>opentelemetry-sdk</code>: add <code>load_entry_point</code> shared utility to declarative file configuration for loading plugins via entry points; refactor propagator loading to use it (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5093">#5093</a>)</li> <li><code>opentelemetry-sdk</code>: add sampler plugin loading to declarative file configuration via the <code>opentelemetry_sampler</code> entry point group, matching the spec's PluginComponentProvider mechanism (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/5095">#5095</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/367e14d01104785ac28b1c66ac32b2082f864a12"><code>367e14d</code></a> Prepare release 1.42.1/0.63b1 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5243">#5243</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/fd8e50410b1788d34b36173dea58d8e38dcc80bc"><code>fd8e504</code></a> Preserve random trace ID flag for child spans (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5241">#5241</a>) (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5242">#5242</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/013045e3787654123b08530059759842312325ab"><code>013045e</code></a> [release/v1.42.x-0.63bx] Prepare release 1.42.0/0.63b0 (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5225">#5225</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/1731583b4e7bc6ec6a33345aa19706fc83acc8d5"><code>1731583</code></a> ci: Enable GitHub Merge Queue support (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5209">#5209</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/7fab34d4f49c1cd67df07fa53471c0ae6c269008"><code>7fab34d</code></a> fix(config): allow deflate for OTLP HTTP exporters (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5075">#5075</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/0b690d2139f68dd42d2425c920aec882698443fa"><code>0b690d2</code></a> ci: validate changelog fragment filenames (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5212">#5212</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/d4fabb4d6d79812a6d38dd900212f6a0fdb1866b"><code>d4fabb4</code></a> feat(config): exporter plugin loading via entry points for declarative config...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/e19d34600b177b97cf1d8320a77ff75133515012"><code>e19d346</code></a> feat(config): generic resource detector plugin loading for declarative config...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/1d69bd2eaa02715ecf3877a8f391678be58f2f57"><code>1d69bd2</code></a> sdk/metrics: copy attributes dict to prevent post-recording mutation (<a href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/5106">#5106</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-python/commit/990a6112a124e53cc0e3f66871ce8f8d00955d15"><code>990a611</code></a> feat(config): propagator plugin loading via entry points for declarative conf...</li> <li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-python/compare/v1.41.1...v1.42.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=opentelemetry-sdk&package-manager=uv&previous-version=1.41.1&new-version=1.42.1)](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 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> <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/ogx-ai/ogx/pull/5968" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open in Devin Review"> </picture> </a> <!-- devin-review-badge-end --> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent ff0a14d commit f55d1ca

2 files changed

Lines changed: 29 additions & 51 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ dependencies = [
6565
"termcolor",
6666
"tiktoken",
6767
"uvicorn>=0.34.0", # server
68-
"opentelemetry-sdk>=1.30.0", # server
68+
"opentelemetry-sdk>=1.42.1", # server
6969
"opentelemetry-exporter-otlp-proto-http>=1.30.0", # server
7070
"opentelemetry-distro>=0.60b1", # optional CLI instrumentation; only pre-releases on PyPI (latest 0.60b1)
7171
"aiosqlite>=0.21.0", # server - for metadata store

uv.lock

Lines changed: 28 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)