Repository navigation
chore(deps): update opentelemetry-python monorepo to v1.45.1 - #18677
Open
renovate-bot wants to merge 1 commit into
Open
renovate-bot wants to merge 1 commit into
renovate-bot wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the opentelemetry-api and opentelemetry-sdk dependencies to version 1.45.1 in the requirements files for both gapic-generator and sqlalchemy-spanner packages. There are no review comments to evaluate, and I have no feedback to provide.
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
==1.44.0→==1.45.1==1.45.0→==1.45.1==1.44.0→==1.45.1Release Notes
open-telemetry/opentelemetry-python (opentelemetry-api)
v1.45.1Compare Source
Fixed
opentelemetry-api: makeAnyValueandAttributeValueexplicit typealiases
(#5703)
opentelemetry-sdk: fix thread leak bug in resource initialization logic forlong running resource detectors
(#5706)
opentelemetry-exporter-otlp-proto-http: restorerequestsas the defaultHTTP transport so proxy environment variables such as
HTTPS_PROXYarehonored again
(#5714)
opentelemetry-api: fix quadratic time parsing of thetracestateheaderand discard
tracestateheaders longer than 8192 characters(#5746)
v1.45.0Compare Source
Added
opentelemetry-exporter-prometheus: add support to configure Resourceattributes as metric labels
(#5122)
(#5202)
opentelemetry-api,opentelemetry-sdk: add support for extended attributevalues everywhere.
(#5266)
opentelemetry-sdk: wire the top-levellog_levelfield in declarativeconfiguration — when set, maps the OTel
SeverityNumbervalue to a Pythonlogging level and applies it to the
opentelemetrylogger so SDK internaldiagnostics respect the configured severity.
(#5351)
opentelemetry-sdk: add the new stableAlwaysRecordSampler(#5354)
opentelemetry-configuration,opentelemetry-sdk: wire top-levelattribute_limitsinto per-signal providers via declarative config; addlog_record_limitssupport toLoggerProvider(#5365)
opentelemetry-exporter-otlp-json-http: add OTLP JSON HTTP exporter package(#5374)
opentelemetry-api,opentelemetry-sdk: addenabled()support to theLogger API, SDK, and
LogRecordProcessorto let instrumentation skipexpensive work when logging is disabled
(#5380)
opentelemetry-exporter-otlp-json-file: add OTLP JSON file Docker tests(#5412)
opentelemetry-configuration: wire the experimentaltracer_configurator/development,meter_configurator/developmentandlogger_configurator/developmentfields intocreate_tracer_provider,create_meter_providerandcreate_logger_provider, soper-instrumentation-scope
enabledoverrides declared in the config file are applied to the provider(previously these fields were parsed but silently discarded). The logger
minimum_severity/trace_basedfields are not supported by the Python SDKand
are ignored with a warning.
(#5418)
docs/examples: add example on how to manually setup the SDK to get SDKmetrics
(#5449)
opentelemetry-docker-tests: add Prometheus exporter docker tests(#5457)
opentelemetry-sdk: count records dropped after shutdown onotel.sdk.processor.{span,log}.processedwitherror.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: addhost.idto the host resource detector(#5653)
opentelemetry-test-utils: addCapturingSamplerto record what samplersreceive in instrumentation tests
(#5681)
Changed
PIE(flake8-pie) ruff rule and fix all violations(#5150)
opentelemetry.util.types.AttributeValuetype in packageopentelemetry-apiis being expanded to includeNone, heterogeneoussequences 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
bytestype is set as an attribute value in the SDK, it will no longerbe utf-8 decoded to a string, instead it will be passed along as is in
accordance with the OTEL spec, since
bytesis a valid type in the OTLPproto.
(#5266)
opentelemetry-exporter-otlp-proto-http: add amax_request_sizeargumentto 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)
opentelemetry-api: subclasses ofLoggerneed to implement theenabledmethod(#5380)
opentelemetry-exporter-otlp-proto-http: refactor to use sharedopentelemetry-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-python: enable Ruff default ruleset and fix auto-fixable lintissues
(#5491)
opentelemetry-sdk:SimpleSpanProcessornow drops spans ended aftershutdown()instead of passing them to the exporter, and counts them onotel.sdk.processor.span.processedwitherror.type=already_shutdown.(#5512)
(#5518)
opentelemetry-exporter-otlp-proto-http: clarify that theendpoint=kwargrequires the full signal path
(#5633)
opentelemetry-sdk: fix typos in SpanLimits docstring(#5658)
Fixed
opentelemetry-configuration: perform environment variable substitution onscalar values after parsing the configuration file, so
${VAR}referencesinside comments and mapping keys are no longer substituted and undefined
references in comments no longer abort loading
(#5407)
opentelemetry-configuration: declarative config environment variablesubstitution 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 nodefault) are skipped with a warning instead of being inserted as a null
value.
(#5408)
: addopentelemetry-configurationandopentelemetry-proto-json` to the package to release(#5425)
opentelemetry-sdk: fixViewinstrument-name matching so a view configuredwith an instrument's real (mixed-case) name is applied; matching is now
case-insensitive and platform-independent instead of relying on
fnmatch'sOS-dependent case handling
(#5430)
opentelemetry-sdk: fix missing f-prefix in exponential histogram errormessages
(#5434)
opentelemetry-configuration: resolve false-positive warning logs for newerschema minor version
(#5436)
opentelemetry-sdk: make methods onFixedSizeExemplarReservoirABCthreadsafe
(#5437)
opentelemetry-propagator-jaeger: fix typing issues and enable pyrighttypechecking for the package
opentelemetry-propagator-jaeger: skipuberctx-baggage headers with anempty value on extraction instead of raising
TypeError(#5440)
opentelemetry-sdk: fixTypeErrorwhen instantiating a_BaseConfiguratorsubclass whose
__init__takes arguments(#5441)
opentelemetry-sdk: fixTypeErrorinos.fork()when aBatchProcessoror
PeriodicExportingMetricReaderis garbage collected(#5453)
opentelemetry-configuration: a declarative config key present with an empty(null) value on an object-typed node (e.g.
always_on:, a- service:detector, or a metric
console:exporter) is now treated the same as anexplicit empty config (
always_on: {}) instead of failing type dispatch orsilently skipping the node. Both
dict-typed nodes and dataclassesconstructible with no arguments are covered.
(#5454)
opentelemetry-api: fix copy-pasted log message inSpanContext.__delattr__(#5455)
opentelemetry-sdk: reject views withExponentialBucketHistogramAggregationfor asynchronous instruments insteadof silently producing no data
(#5461)
opentelemetry-sdk: fill every bucket ofSimpleFixedSizeExemplarReservoirbefore random sampling
(#5462)
opentelemetry-sdk: Import code_attributes from stable semconv package(#5465)
opentelemetry-sdk: for both the simple and batch span/log processors, countotel.sdk.processor.{span,log}.processedwhen the processor submits recordsto the exporter instead of after export completes, and stop stamping exporter
failures onto this metric as
error.type(#5472)
opentelemetry-sdk: fix misleading instrument name validation error message(name max length is 255, not 63).
(#5513)
opentelemetry-configuration: add missing process executable name to defaultservice name when available in resource attributes
(#5534)
opentelemetry-sdk: fix values forprocess.executable.nameandprocess.executable.pathto match semantic conventions.(#5535)
opentelemetry-api: fixTraceState.updatedropping all entries when addinga new key at the 32-key limit
(#5543)
opentelemetry-sdk: boundget_aggregated_resources()wait to the timeout(#5545)
opentelemetry-sdk: don't readprocess.executable.nameresource attributewhen building default
service.name(#5547)
opentelemetry-propagator-jaeger: enforce baggage limits on bothuberctx-extract and inject, borrowing the same limits (180 entries, 4096 bytes per
entry, 8192 bytes total) the package's core
W3CBaggagePropagatoralreadyuses, so neither an inbound carrier nor an in-process baggage map can produce
unbounded work or headers.
(#5556)
opentelemetry-sdk: keep metric attribute values that Python considers equalbut the data model does not, such as
True,1and1.0, in separatemetric streams
(#5573)
opentelemetry-sdk: keepResourcehashable and serialisable when anattribute value is
bytes, instead of raisingTypeErrorfrom every OTLPencoder
(#5577)
opentelemetry-sdk: fix instrumentation scope name matching in the tracer,meter and logger configurators so it is case-sensitive on every platform
instead of relying on
fnmatch's OS-dependent case handling(#5584)
opentelemetry-sdk: fixTracerProvider()raisingValueErrorwhenOTEL_TRACES_SAMPLER_ARGis a syntactically valid number outside the[0.0, 1.0]range, instead of logging a warning and falling back like other invalidvalues
(#5594)
opentelemetry-sdk: retain values from synchronous instruments usinglast-value aggregation across cumulative collections
(#5637)
opentelemetry-api: Added guard for negative value on max_value_len(#5647)
opentelemetry-sdk: fix overriding of the service.instance.id which has beenpopulated from the user provided values through the resource detectors
(#5660)
opentelemetry-exporter-otlp-proto-grpc: Fix incorrect default port for OTLPgRPC exporter self-metrics
(#5668)
opentelemetry-api: update W3CBaggagePropagator to properly handlewhitespace
(#5680)
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.