Update opentelemetry-python monorepo#3475
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates pinned OpenTelemetry Python dependencies to newer upstream versions to keep the shell agent aligned with the latest SDK/exporter/instrumentation releases.
Changes:
- Bump
opentelemetry-instrumentation/opentelemetry-distrofrom0.62b1to0.63b0 - Bump
opentelemetry-sdk/ OTLP exporters from1.41.1to1.42.0 - Apply the updated pins across agent and runtime requirements files
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/usr/share/opentelemetry_shell/agent.instrumentation.python/requirements.txt | Updates contrib instrumentation/distro and OTLP exporter pins |
| src/usr/share/opentelemetry_shell/agent.instrumentation.python/instrumentation_roots_requirements.txt | Updates root instrumentation pin |
| src/opt/opentelemetry_shell/requirements.txt | Updates SDK and OTLP HTTP exporter pins |
…or opentelemetry 1.42.0 Agent-Logs-Url: https://github.com/plengauer/Thoth/sessions/819b6174-7071-4304-86a1-9ee684d28899 Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
auto-merge was automatically disabled
May 20, 2026 09:24
Head branch was pushed to by a user without write access
moflwi
approved these changes
May 20, 2026
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:
==0.62b1→==0.63b0==1.41.1→==1.42.0==1.41.1→==1.42.0==0.62b1→==0.63b0==1.41.1→==1.42.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
open-telemetry/opentelemetry-python-contrib (opentelemetry-distro)
v0.63b0Compare Source
Added
opentelemetry-exporter-richconsole: Add support for suppressing resourceinformation
(#3898)
opentelemetry-instrumentation: Add experimental metrics attributes Labelerutility
(#4288)
opentelemetry-instrumentation-logging: AddOTEL_PYTHON_LOG_HANDLER_LEVELand
OTEL_PYTHON_LOG_FORMATenvironment variables to configure the log leveland formatter of the auto-instrumented
LoggingHandler.(#4298)
opentelemetry-instrumentation-sqlite3: Add uninstrument, error status,suppress, and no-op tests
(#4335)
BaggageLogProcessortoopentelemetry-processor-baggage(#4371)
opentelemetry-instrumentation-system-metrics: Add support forprocess.disk.iometric in system-metrics instrumentation(#4397)
opentelemetry-instrumentation: RegisterOTEL_SEMCONV_STABILITY_OPT_INinenvironment_variables.pysoopentelemetry-instrumentexposes a--semconv_stability_opt_inCLI argument(#4438)
AGENTS.mdwith instrumentation/GenAI guidance and add PR reviewinstructions.
(#4457)
opentelemetry-instrumentation: update auto-instrumentation to re-injectinstrumentation path after init
(#4469)
opentelemetry-instrumentation-dbapi: Add Database client operation durationand returned rows metrics
(#4481)
Changed
pylint: disable=attribute-defined-outside-initcommentsand add rule to global
.pylintrcdisable list(#3839)
pylintto4.0.5(#4244)
opentelemetry-instrumentation-logging: UseLogRecord.getMessage()toformat and extract each log record's body text to more closely match the
expected usage of the logging system. As a result, all OTel log record bodies
are now always strings. Previously, if
LogRecord.msg(which contains theformat string) was set to a non-string object (e.g.
logger.warning(some_dict)), the object was exported as-is to the OTLP bodyfield. Now,
LogRecord.getMessage()will convert it to to a string. If youare passing in non-strings as the format string argument and your backend is
expecting them as-is, you will need to update accordingly.
(#4372)
(#4533)
opentelemetry-instrumentation-{urllib,urllib3,requests}: switch http mocklibrary from abandoned httpretty to mocket
(#4583)
Removed
(#4412)
Fixed
opentelemetry-instrumentation-aiohttp-server: Usecanonicalattribute ofthe
Resourceas a span name(#3896)
the
traceparentheader(#4030)
opentelemetry-instrumentation-aws-lambda: fix improper handling of headercasing
(#4216)
opentelemetry-instrumentation-flask: Clean up environ keys in_teardown_requestto prevent duplicate execution(#4341)
opentelemetry-instrumentation-celery: Coerce non-string values to stringsin
CeleryGetter.get()to preventTypeErrorinTraceState.from_header()when Celery request attributes contain ints
(#4360)
opentelemetry-instrumentation-celery: Coerce timelimit values to strings inset_attributes_from_context()to prevent mixed-type span attribute warning(#4361)
opentelemetry-instrumentation-fastapi: FixFastAPIinstrumentation tocorrectly trace
BackgroundTasksby wrapping their execution in a dedicatedspan, ensuring proper parent-child relationships and accurate trace timing
(#4368)
opentelemetry-instrumentation-flask: Stop reading the deprecated (from 3.1)flask.__version__attribute; resolve the Flask version viaimportlib.metadata(#4422)
opentelemetry-instrumentation-confluent-kafka: Populateserver.addressand
server.portspan attributes from the producer/consumerbootstrap.serversconfig; previouslyKafkaPropertiesExtractor.extract_bootstrap_serverswas defined but nevercalled
(#4423)
opentelemetry-instrumentation-dbapiUseObjectProxyinstead ofBaseObjectProxyforTracedCursorProxyto restore iterability with wrapt2.x
(#4427)
opentelemetry-instrumentation-pyramid: add missinghttp.response.status_codein duration metrics for stable http semanticconventions
(#4448)
opentelemetry-instrumentation-pikaUseObjectProxyinstead ofBaseObjectProxyforReadyMessagesDequeProxyto restore iterability withwrapt 2.x
(#4461)
docker-tests: Don't require sudo, debian based distro and MS SQL ODBCdriver to run locally. Instead require docker and unixodbc
(#4478)
opentelemetry-instrumentation-celery: clear completed task ids fromtask_id_to_start_time(#4504)
opentelemetry-instrumentation-celery: add null guards and type-safe helperhandling around Celery context propagation internals
(#4505)
opentelemetry-instrumentation-wsgi: usePATH_INFOandQUERY_STRINGforURL attributes instead of parsing
RAW_URIorREQUEST_URI(#4551)
opentelemetry-instrumentation-mysqlclient: Update unit tests to properlyvalidate trace context trace flag values.
(#4560)
opentelemetry-instrumentation-pika: pass destination to_enrich_spaninstead of
task_name(#4563)
opentelemetry-instrumentation-tornado: reduce cardinality of span names andmetrics attributes. This introduces a breaking change in the metrics
attributes for the stable semantic convention by dropping the out of spec
url.queryandurl.pathattributes in favor of in-spechttp.route.(#4577)
opentelemetry-instrumentation-confluent-kafka: Declareopentelemetry-semantic-conventionsas a direct dependency(#4590)
opentelemetry-instrumentation-pymssql: Fix semconv stability migration forconnection attributes (host, port, user) set in
wrapped_connection()torespect
OTEL_SEMCONV_STABILITY_OPT_IN. Note:net.peer.portis now emittedas
intinstead ofstringin default mode, aligning with other DBinstrumentations.
(#4592)
opentelemetry-semantic-conventionsas a direct dependency for theaio-pika, logging, pika and system-metrics instrumentations, since each
imports
opentelemetry.semconvdirectly.(#4594)
open-telemetry/opentelemetry-python (opentelemetry-exporter-otlp)
v1.42.0Compare Source
Added
opentelemetry-api,opentelemetry-sdk: add support for 'random-trace-id'flags in W3C traceparent header trace flags. Implementations of
IdGeneratorthat do randomly generate the 56 least significant bits, should also
implement a
is_trace_id_randommethods that returnsTrue.(#4854)
(#4908)
opentelemetry-exporter-otlp-proto-grpc: make retryable gRPC error codesconfigurable for gRPC exporters
(#4917)
opentelemetry-sdk: Addcreate_logger_provider/configure_logger_providerto declarative file configuration, enabling LoggerProvider instantiation from
config files without reading env vars
(#4990)
opentelemetry-exporter-otlp-json-common: add'opentelemetry-exporter-otlp-json-common' package for OTLP JSON exporters
(#4996)
opentelemetry-sdk: Addserviceresource detector support to declarativefile configuration via
detection_development.detectors[].service(#5003)
opentelemetry-docker-tests: add docker-tests coverage ofopentelemetry-exporter-otlp-proto-grpcandopentelemetry-exporter-otlp-proto-httpmetrics export(#5030)
registrykeyword argument toPrometheusMetricReaderto allow passinga custom Prometheus registry
(#5055)
(#5088)
opentelemetry-sdk: addload_entry_pointshared utility to declarativefile configuration for loading plugins via entry points; refactor propagator
loading to use it
(#5093)
opentelemetry-sdk: add sampler plugin loading to declarative fileconfiguration via the
opentelemetry_samplerentry point group, matching thespec's PluginComponentProvider mechanism
(#5095)
opentelemetry-sdk: add propagator plugin loading to declarative fileconfiguration via the
opentelemetry_propagatorentry point group, matchingthe spec's PluginComponentProvider mechanism
(#5098)
opentelemetry-sdk: add exporter plugin loading to declarative fileconfiguration for all three signals (traces, metrics, logs) via the
opentelemetry_*_exporterentry point groups, matching the spec'sPluginComponentProvider mechanism
(#5128)
opentelemetry-sdk: add generic resource detector plugin loading todeclarative file configuration via the
opentelemetry_resource_detectorentry point group, matching the spec's PluginComponentProvider mechanism
(#5129)
opentelemetry-sdk: addadditional_propertiessupport to generated configmodels via custom
datamodel-codegentemplate, enabling plugin/customcomponent names to flow through typed dataclasses
(#5131)
OTEL_PYTHON_SDK_INTERNAL_METRICS_ENABLEDenvironment variable.(#5151)
Changed
opentelemetry-semantic-conventions: useX | Yunion annotation(#5096)
opentelemetry-api: updateEnvironmentGetterandEnvironmentSettertouse normalized environment variable names
(#5119)
UPruff rule(#5133)
opentelemetry-sdk: only load entrypoints for resource detectors if they areconfigured via
OTEL_EXPERIMENTAL_RESOURCE_DETECTORS(#5145)
scripts/tracecontext-integration-test.sh(#5149)
(#5177)
opentelemetry-semantic-conventions: Bump semantic conventions to 1.41.1,this changes the metrics name of
K8S_CONTAINER_CPU_LIMIT_UTILIZATIONandK8S_CONTAINER_CPU_REQUEST_UTILIZATION.(#5200)
Removed
opentelemetry-api: remove third-party importlib-metadata in favor ofstandard library since Python >= 3.10 is now required
(#3234)
(#5076)
Fixed
opentelemetry-sdk: Allow declarative OTLP HTTP exporters to mapcompression: deflateinstead of rejecting it as unsupported.(#5075)
create_tracer()docstring(#5077)
opentelemetry-sdk: FixProcessResourceDetectorto usesys.orig_argvsothat
process.command,process.command_line, andprocess.command_argsreflect the original invocation for
python -m <module>runs (wheresys.argv[0]is rewritten to the module path)(#5083)
opentelemetry-sdk: fix YAML structure injection via environment variablesubstitution in declarative file configuration; values containing newlines
are now emitted as quoted YAML scalars per spec requirement
(#5091)
opentelemetry-sdk: Fix mutable attributes reference in metrics, attributespassed to instrument
add/recordare now copied so that subsequentmutations do not affect recorded data points
(#5106)
opentelemetry-sdk: make resource detector ordering deterministic(#5120)
detectorsparameter ofget_aggregated_resources(#5135)
opentelemetry-api: Enforce W3C Baggage size limits on outbound propagationin
W3CBaggagePropagator.inject(). Previously only inbound extractionenforced limits; now inject also caps entries at 180, individual pairs at
4096 bytes, and total header at 8192 bytes per the W3C Baggage spec. The
extract path max_pairs limit now counts all size-valid entries rather than
only successfully parsed ones.
(#5163)
opentelemetry-sdk: fix multi-processorforce_flushskipping remainingprocessors when one returns
None(#5179)
opentelemetry-test-utils: fix weaver live check hanging when weaver logoutput fills the pipe buffer
(#5208)
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate.