You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: bump opentelemetry-api from 1.40.0 to 1.45.1 - #10001
This is a patch release on the previous 1.45.0/0.66b0 release, fixing the issue(s) below.
Fixed
opentelemetry-api: make AnyValue and AttributeValue explicit type aliases (#5703)
opentelemetry-sdk: fix thread leak bug in resource initialization logic for long running resource detectors (#5706)
opentelemetry-exporter-otlp-proto-http: restore requests as the default HTTP transport so proxy environment variables such as HTTPS_PROXY are honored again (#5714)
opentelemetry-api: fix quadratic time parsing of the tracestate header and discard tracestate headers longer than 8192 characters (#5746)
Version 1.45.0/0.66b0
Added
opentelemetry-exporter-prometheus: add support to configure Resource attributes as metric labels (#5122)
opentelemetry-api, opentelemetry-sdk: add support for extended attribute values everywhere. (#5266)
opentelemetry-sdk: wire the top-level log_level field in declarative configuration — when set, maps the OTel SeverityNumber value to a Python logging level and applies it to the opentelemetry logger so SDK internal diagnostics respect the configured severity. (#5351)
opentelemetry-sdk: add the new stable AlwaysRecordSampler (#5354)
opentelemetry-configuration, opentelemetry-sdk: wire top-level attribute_limits into per-signal providers via declarative config; add log_record_limits support to LoggerProvider (#5365)
opentelemetry-api, opentelemetry-sdk: add enabled() support to the Logger API, SDK, and LogRecordProcessor to let instrumentation skip expensive work when logging is disabled (#5380)
opentelemetry-configuration: wire the experimental tracer_configurator/development, meter_configurator/development and logger_configurator/development fields into create_tracer_provider, create_meter_provider and create_logger_provider, so per-instrumentation-scope enabled overrides declared in the config file are applied to the provider (previously these fields were parsed but silently discarded). The logger minimum_severity/trace_based fields are not supported by the Python SDK and are ignored with a warning. (#5418)
docs/examples: add example on how to manually setup the SDK to get SDK metrics (#5449)
opentelemetry-sdk: count records dropped after shutdown on otel.sdk.processor.{span,log}.processed with error.type=already_shutdown (batch span/log and simple log processors), which the semantic conventions define as a valid value for this metric. (#5509)
opentelemetry-semantic-conventions: update semantic conventions to v1.44.0 (#5511)
opentelemetry-sdk: add host.id to the host resource detector (#5653)
opentelemetry-test-utils: add CapturingSampler to record what samplers receive in instrumentation tests (#5681)
Changed
Enable PIE (flake8-pie) ruff rule and fix all violations (#5150)
The public opentelemetry.util.types.AttributeValue type in package opentelemetry-api is being expanded to include None, heterogeneous sequences of primitive types (and nested sequences) as opposed to only homogeneous primitive sequences, and Mappings of strings to any primitive types or sequences/mappings (which themselves must only contain primitive types or sequences/mappings validated the same way). If a bytes type is set as an attribute value in the SDK, it will no longer be utf-8 decoded to a string, instead it will be passed along as is in accordance with the OTEL spec, since bytes is a valid type in the OTLP proto. (#5266)
opentelemetry-exporter-otlp-proto-http: add a max_request_size argument to the OTLP HTTP exporters (traces, logs, metrics); serialized requests larger than the limit are dropped before sending, measured before compression. Defaults to 64 MiB (enabled); set to 0 to disable. Mirrors opentelemetry-go#8157. (#5369)
[BREAKING] opentelemetry-api: subclasses of Logger need to implement the enabled method (#5380)
opentelemetry-exporter-otlp-proto-http: refactor to use shared opentelemetry-exporter-otlp-common and opentelemetry-exporter-http-transport packages and switch default HTTP backend to urllib3 (#5389)
opentelemetry-sdk: unify logging force_flush timeout defaults to 30000ms (#5438)
opentelemetry-sdk: SimpleSpanProcessor now drops spans ended after shutdown() instead of passing them to the exporter, and counts them on otel.sdk.processor.span.processed with error.type=already_shutdown. (#5512)
opentelemetry-exporter-otlp-proto-http: clarify that the endpoint= kwarg requires the full signal path (#5633)
opentelemetry-sdk: fix typos in SpanLimits docstring (#5658)
Fixed
opentelemetry-configuration: perform environment variable substitution on scalar values after parsing the configuration file, so ${VAR} references inside comments and mapping keys are no longer substituted and undefined references in comments no longer abort loading (#5407)
opentelemetry-configuration: declarative config environment variable substitution now replaces an unset variable that has no default with an empty value instead of raising an error, per the configuration spec. Resource attributes whose value resolves to null (an unset ${VAR} with no default) are skipped with a warning instead of being inserted as a null value. (#5408)
'scripts/build.sh: add opentelemetry-configurationandopentelemetry-proto-json` to the package to release (#5425)
opentelemetry-sdk: fix View instrument-name matching so a view configured with an instrument's real (mixed-case) name is applied; matching is now case-insensitive and platform-independent instead of relying on fnmatch's OS-dependent case handling (#5430)
opentelemetry-api: make AnyValue and AttributeValue explicit type
aliases
(#5703)
opentelemetry-sdk: fix thread leak bug in resource initialization logic for
long running resource detectors
(#5706)
opentelemetry-exporter-otlp-proto-http: restore requests as the default
HTTP transport so proxy environment variables such as HTTPS_PROXY are
honored again
(#5714)
opentelemetry-api: fix quadratic time parsing of the tracestate header
and discard tracestate headers longer than 8192 characters
(#5746)
Version 1.45.0/0.66b0 (2026-09-25)
Added
opentelemetry-exporter-prometheus: add support to configure Resource
attributes as metric labels
(#5122)
opentelemetry-api, opentelemetry-sdk: add support for extended attribute
values everywhere.
(#5266)
opentelemetry-sdk: wire the top-level log_level field in declarative
configuration — when set, maps the OTel SeverityNumber value to a Python
logging level and applies it to the opentelemetry logger so SDK internal
diagnostics respect the configured severity.
(#5351)
opentelemetry-sdk: add the new stable AlwaysRecordSampler
(#5354)
opentelemetry-configuration, opentelemetry-sdk: wire top-level
attribute_limits into per-signal providers via declarative config; add
log_record_limits support to LoggerProvider
(#5365)
opentelemetry-api, opentelemetry-sdk: add enabled() support to the
Logger API, SDK, and LogRecordProcessor to let instrumentation skip
expensive work when logging is disabled
(#5380)
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 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)
You can disable automated security fix PRs for this repo from the Security Alerts page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cidependenciesPull requests that update a dependency filepython:uvPull requests that update python:uv code
0 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps opentelemetry-api from 1.40.0 to 1.45.1.
Release notes
Sourced from opentelemetry-api's releases.
... (truncated)
Changelog
Sourced from opentelemetry-api's changelog.
... (truncated)
Commits
14971cePrepare release 1.45.1/0.66b1 (#5752)44ac26eopentelemetry-sdk: fix thread leak bug in resource initialization logic (#570...a2ec3f9[release/v1.45.x-0.66bx] opentelemetry-exporter-otlp-proto-http: restore requ...d5224bfopentelemetry-api: improve performance of tracestate parsing (#5746) (#5749)db61173Declare AnyValue and AttributeValue as explicit type aliases (#5703) (#5750)4f0fcfaPrepare release 1.45.0/0.66b0 (#5690)9406f34opentelemetry-test-utils: add CapturingSampler for instrumentation tests (#5681)1fe31a9fix: update W3CBaggagePropagator to properly handle whitespace (#5680)008b5b0feat(config): wire top-level attribute_limits into per-signal providers (#5365)edfad0c[opentelemetry-sdk] Fix overwriting of the service.instance.id which has been...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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.