Skip to content

Update OTel dependencies#252

Merged
anuraaga merged 3 commits into
mainfrom
renovate/otel-dependencies
May 25, 2026
Merged

Update OTel dependencies#252
anuraaga merged 3 commits into
mainfrom
renovate/otel-dependencies

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 25, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
opentelemetry-instrumentation-asgi ==0.62b1==0.63b1 age adoption passing confidence
opentelemetry-instrumentation-wsgi ==0.62b1==0.63b1 age adoption passing confidence
opentelemetry-sdk ==1.41.1==1.42.1 age adoption passing confidence

Release Notes

open-telemetry/opentelemetry-python-contrib (opentelemetry-instrumentation-asgi)

v0.63b1

Compare Source

No significant changes.

v0.63b0

Compare Source

Added
  • opentelemetry-exporter-richconsole: Add support for suppressing resource
    information
    (#​3898)
  • opentelemetry-instrumentation: Add experimental metrics attributes Labeler
    utility
    (#​4288)
  • opentelemetry-instrumentation-logging: Add OTEL_PYTHON_LOG_HANDLER_LEVEL
    and OTEL_PYTHON_LOG_FORMAT environment variables to configure the log level
    and formatter of the auto-instrumented LoggingHandler.
    (#​4298)
  • opentelemetry-instrumentation-sqlite3: Add uninstrument, error status,
    suppress, and no-op tests
    (#​4335)
  • Add BaggageLogProcessor to opentelemetry-processor-baggage
    (#​4371)
  • opentelemetry-instrumentation-system-metrics: Add support for
    process.disk.io metric in system-metrics instrumentation
    (#​4397)
  • opentelemetry-instrumentation: Register OTEL_SEMCONV_STABILITY_OPT_IN in
    environment_variables.py so opentelemetry-instrument exposes a
    --semconv_stability_opt_in CLI argument
    (#​4438)
  • Expand AGENTS.md with instrumentation/GenAI guidance and add PR review
    instructions.
    (#​4457)
  • opentelemetry-instrumentation: update auto-instrumentation to re-inject
    instrumentation path after init
    (#​4469)
  • opentelemetry-instrumentation-dbapi: Add Database client operation duration
    and returned rows metrics
    (#​4481)
Changed
  • Remove redundant pylint: disable=attribute-defined-outside-init comments
    and add rule to global .pylintrc disable list
    (#​3839)
  • Bump pylint to 4.0.5
    (#​4244)
  • opentelemetry-instrumentation-logging: Use LogRecord.getMessage() to
    format 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 the
    format string) was set to a non-string object (e.g.
    logger.warning(some_dict)), the object was exported as-is to the OTLP body
    field. Now, LogRecord.getMessage() will convert it to to a string. If you
    are passing in non-strings as the format string argument and your backend is
    expecting them as-is, you will need to update accordingly.
    (#​4372)
  • Switch to SPDX license headers and add CI enforcement
    (#​4533)
  • opentelemetry-instrumentation-{urllib,urllib3,requests}: switch http mock
    library from abandoned httpretty to mocket
    (#​4583)
Removed
Fixed
  • opentelemetry-instrumentation-aiohttp-server: Use canonical attribute of
    the Resource as a span name
    (#​3896)
  • Refactor unit tests to allow for population of the random trace id flag in
    the traceparent header
    (#​4030)
  • opentelemetry-instrumentation-aws-lambda: fix improper handling of header
    casing
    (#​4216)
  • opentelemetry-instrumentation-flask: Clean up environ keys in
    _teardown_request to prevent duplicate execution
    (#​4341)
  • opentelemetry-instrumentation-celery: Coerce non-string values to strings
    in CeleryGetter.get() to prevent TypeError in TraceState.from_header()
    when Celery request attributes contain ints
    (#​4360)
  • opentelemetry-instrumentation-celery: Coerce timelimit values to strings in
    set_attributes_from_context() to prevent mixed-type span attribute warning
    (#​4361)
  • opentelemetry-instrumentation-fastapi: Fix FastAPI instrumentation to
    correctly trace BackgroundTasks by wrapping their execution in a dedicated
    span, 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 via
    importlib.metadata
    (#​4422)
  • opentelemetry-instrumentation-confluent-kafka: Populate server.address
    and server.port span attributes from the producer/consumer
    bootstrap.servers config; previously
    KafkaPropertiesExtractor.extract_bootstrap_servers was defined but never
    called
    (#​4423)
  • opentelemetry-instrumentation-dbapi Use ObjectProxy instead of
    BaseObjectProxy for TracedCursorProxy to restore iterability with wrapt
    2.x
    (#​4427)
  • opentelemetry-instrumentation-pyramid: add missing
    http.response.status_code in duration metrics for stable http semantic
    conventions
    (#​4448)
  • opentelemetry-instrumentation-pika Use ObjectProxy instead of
    BaseObjectProxy for ReadyMessagesDequeProxy to restore iterability with
    wrapt 2.x
    (#​4461)
  • docker-tests: Don't require sudo, debian based distro and MS SQL ODBC
    driver to run locally. Instead require docker and unixodbc
    (#​4478)
  • opentelemetry-instrumentation-celery: clear completed task ids from
    task_id_to_start_time
    (#​4504)
  • opentelemetry-instrumentation-celery: add null guards and type-safe helper
    handling around Celery context propagation internals
    (#​4505)
  • opentelemetry-instrumentation-wsgi: use PATH_INFO and QUERY_STRING for
    URL attributes instead of parsing RAW_URI or REQUEST_URI
    (#​4551)
  • opentelemetry-instrumentation-mysqlclient: Update unit tests to properly
    validate trace context trace flag values.
    (#​4560)
  • opentelemetry-instrumentation-pika: pass destination to _enrich_span
    instead of task_name
    (#​4563)
  • opentelemetry-instrumentation-tornado: reduce cardinality of span names and
    metrics attributes. This introduces a breaking change in the metrics
    attributes for the stable semantic convention by dropping the out of spec
    url.query and url.path attributes in favor of in-spec http.route.
    (#​4577)
  • opentelemetry-instrumentation-confluent-kafka: Declare
    opentelemetry-semantic-conventions as a direct dependency
    (#​4590)
  • opentelemetry-instrumentation-pymssql: Fix semconv stability migration for
    connection attributes (host, port, user) set in wrapped_connection() to
    respect OTEL_SEMCONV_STABILITY_OPT_IN. Note: net.peer.port is now emitted
    as int instead of string in default mode, aligning with other DB
    instrumentations.
    (#​4592)
  • Declare opentelemetry-semantic-conventions as a direct dependency for the
    aio-pika, logging, pika and system-metrics instrumentations, since each
    imports opentelemetry.semconv directly.
    (#​4594)
open-telemetry/opentelemetry-python (opentelemetry-sdk)

v1.42.1

Compare Source

Fixed
  • 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.
    (#​5241)

v1.42.0

Compare Source

Added
  • opentelemetry-api, opentelemetry-sdk: add support for 'random-trace-id'
    flags in W3C traceparent header trace flags. Implementations of IdGenerator
    that do randomly generate the 56 least significant bits, should also
    implement a is_trace_id_random methods that returns True.
    (#​4854)
  • logs: add exception support to Logger emit and LogRecord attributes
    (#​4908)
  • opentelemetry-exporter-otlp-proto-grpc: make retryable gRPC error codes
    configurable for gRPC exporters
    (#​4917)
  • opentelemetry-sdk: Add create_logger_provider/configure_logger_provider
    to 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: Add service resource detector support to declarative
    file configuration via detection_development.detectors[].service
    (#​5003)
  • opentelemetry-docker-tests: add docker-tests coverage of
    opentelemetry-exporter-otlp-proto-grpc and
    opentelemetry-exporter-otlp-proto-http metrics export
    (#​5030)
  • Add registry keyword argument to PrometheusMetricReader to allow passing
    a custom Prometheus registry
    (#​5055)
  • Add WeaverLiveCheck test util
    (#​5088)
  • opentelemetry-sdk: add load_entry_point shared utility to declarative
    file configuration for loading plugins via entry points; refactor propagator
    loading to use it
    (#​5093)
  • opentelemetry-sdk: add sampler plugin loading to declarative file
    configuration via the opentelemetry_sampler entry point group, matching the
    spec's PluginComponentProvider mechanism
    (#​5095)
  • opentelemetry-sdk: add propagator plugin loading to declarative file
    configuration via the opentelemetry_propagator entry point group, matching
    the spec's PluginComponentProvider mechanism
    (#​5098)
  • opentelemetry-sdk: add exporter plugin loading to declarative file
    configuration for all three signals (traces, metrics, logs) via the
    opentelemetry_*_exporter entry point groups, matching the spec's
    PluginComponentProvider mechanism
    (#​5128)
  • opentelemetry-sdk: add generic resource detector plugin loading to
    declarative file configuration via the opentelemetry_resource_detector
    entry point group, matching the spec's PluginComponentProvider mechanism
    (#​5129)
  • opentelemetry-sdk: add additional_properties support to generated config
    models via custom datamodel-codegen template, enabling plugin/custom
    component names to flow through typed dataclasses
    (#​5131)
  • Add ability to selectively enable exporting of SDK internal metrics with the
    OTEL_PYTHON_SDK_INTERNAL_METRICS_ENABLED environment variable.
    (#​5151)
Changed
  • opentelemetry-semantic-conventions: use X | Y union annotation
    (#​5096)
  • opentelemetry-api: update EnvironmentGetter and EnvironmentSetter to
    use normalized environment variable names
    (#​5119)
  • Apply fixes for UP ruff rule
    (#​5133)
  • opentelemetry-sdk: only load entrypoints for resource detectors if they are
    configured via OTEL_EXPERIMENTAL_RESOURCE_DETECTORS
    (#​5145)
  • ci: wait for tracecontext server readiness instead of a fixed sleep in
    scripts/tracecontext-integration-test.sh
    (#​5149)
  • Switch to SPDX license headers and add CI enforcement
    (#​5177)
  • opentelemetry-semantic-conventions: Bump semantic conventions to 1.41.1,
    this changes the metrics name of K8S_CONTAINER_CPU_LIMIT_UTILIZATION and
    K8S_CONTAINER_CPU_REQUEST_UTILIZATION.
    (#​5200)
Removed
  • opentelemetry-api: remove third-party importlib-metadata in favor of
    standard library since Python >= 3.10 is now required
    (#​3234)
  • Drop Python 3.9 support
    (#​5076)
Fixed
  • opentelemetry-sdk: Allow declarative OTLP HTTP exporters to map
    compression: deflate instead of rejecting it as unsupported.
    (#​5075)
  • Fix incorrect code example in create_tracer() docstring
    (#​5077)
  • opentelemetry-sdk: Fix ProcessResourceDetector to use sys.orig_argv so
    that process.command, process.command_line, and process.command_args
    reflect the original invocation for python -m <module> runs (where
    sys.argv[0] is rewritten to the module path)
    (#​5083)
  • opentelemetry-sdk: fix YAML structure injection via environment variable
    substitution 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, attributes
    passed to instrument add/record are now copied so that subsequent
    mutations do not affect recorded data points
    (#​5106)
  • opentelemetry-sdk: make resource detector ordering deterministic
    (#​5120)
  • Fix incorrect type annotation on detectors parameter of
    get_aggregated_resources
    (#​5135)
  • opentelemetry-api: Enforce W3C Baggage size limits on outbound propagation
    in W3CBaggagePropagator.inject(). Previously only inbound extraction
    enforced 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-processor force_flush skipping remaining
    processors when one returns None
    (#​5179)
  • opentelemetry-test-utils: fix weaver live check hanging when weaver log
    output fills the pipe buffer
    (#​5208)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 25, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

…nto renovate/otel-dependencies

Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
@anuraaga anuraaga force-pushed the renovate/otel-dependencies branch from 779540b to 33eb615 Compare May 25, 2026 03:04
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
@anuraaga anuraaga merged commit 6bdc30c into main May 25, 2026
23 checks passed
@anuraaga anuraaga deleted the renovate/otel-dependencies branch May 25, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant