Skip to content

chore(deps): update opentelemetry-python monorepo to v1.41.0#43

Open
red-hat-konflux-kflux-prd-rh02[bot] wants to merge 3 commits intomainfrom
konflux/mintmaker/main/opentelemetry-python-monorepo
Open

chore(deps): update opentelemetry-python monorepo to v1.41.0#43
red-hat-konflux-kflux-prd-rh02[bot] wants to merge 3 commits intomainfrom
konflux/mintmaker/main/opentelemetry-python-monorepo

Conversation

@red-hat-konflux-kflux-prd-rh02
Copy link
Copy Markdown
Contributor

@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 bot commented Mar 12, 2026

This PR contains the following updates:

Package Change Age Confidence
opentelemetry-api ==1.38.0==1.41.0 age confidence
opentelemetry-exporter-otlp ==1.38.0==1.41.0 age confidence
opentelemetry-exporter-otlp-proto-common ==1.38.0==1.41.0 age confidence
opentelemetry-exporter-otlp-proto-grpc ==1.38.0==1.41.0 age confidence
opentelemetry-exporter-otlp-proto-http ==1.38.0==1.41.0 age confidence
opentelemetry-proto ==1.38.0==1.41.0 age confidence
opentelemetry-sdk ==1.38.0==1.41.0 age confidence

Release Notes

open-telemetry/opentelemetry-python (opentelemetry-api)

v1.41.0

Compare Source

  • opentelemetry-sdk: Add host resource detector support to declarative file configuration via detection_development.detectors[].host
    (#​5002)
  • opentelemetry-sdk: Add container resource detector support to declarative file configuration via detection_development.detectors[].container, using entry point loading of the opentelemetry-resource-detector-containerid contrib package
    (#​5004)
  • opentelemetry-sdk: Add create_tracer_provider/configure_tracer_provider to declarative file configuration, enabling TracerProvider instantiation from config files without reading env vars
    (#​4985)
  • Enabled the flake8-tidy-import plugins rules for the ruff linter. These rules throw warnings for relative imports in the modules.
    (#​5019)
  • opentelemetry-sdk: Fix AttributeError in ExplicitBucketHistogramAggregation when applied to non-Histogram instruments without explicit boundaries
    (#​5034)
  • Fix BatchLogRecordProcessor default schedule_delay_millis from 5000ms to 1000ms to comply with the OTel specification. Note: logs may be exported 5x more frequently by default (e.g. for users who don't explicitly set the OTEL_BLRP_SCHEDULE_DELAY env var).
    (#​4998)
  • opentelemetry-sdk: Add process resource detector support to declarative file configuration via detection_development.detectors[].process
    (#​5001)
  • opentelemetry-sdk: Add shared _parse_headers helper for declarative config OTLP exporters
    (#​5021)
  • opentelemetry-api: Replace a broad exception in attribute cleaning tests to satisfy pylint in the lint-opentelemetry-api CI job
  • opentelemetry-sdk: Add create_meter_provider/configure_meter_provider to declarative file configuration, enabling MeterProvider instantiation from config files without reading env vars
    (#​4987)
  • opentelemetry-sdk: Add create_resource and create_propagator/configure_propagator to declarative file configuration, enabling Resource and propagator instantiation from config files without reading env vars
    (#​4979)
  • opentelemetry-sdk: Map Python CRITICAL log level to OTel FATAL severity text per the specification
    (#​4984)
  • opentelemetry-sdk: Add file configuration support with YAML/JSON loading, environment variable substitution, and schema validation against the vendored OTel config JSON schema
    (#​4898)
  • Fix intermittent CI failures in getting-started and tracecontext jobs caused by GitHub git CDN SHA propagation lag by installing contrib packages from the already-checked-out local copy instead of a second git clone
    (#​4958)
  • opentelemetry-sdk: fix type annotations on MetricReader and related types
    (#​4938)
  • opentelemetry-sdk: implement log creation metric
    (#​4935)
  • opentelemetry-sdk: implement metric reader metrics
    (#​4970)
  • opentelemetry-sdk: implement processor metrics
    (#​5012)
  • opentelemetry-sdk: upgrade vendored OTel configuration schema from v1.0.0-rc.3 to v1.0.0
    (#​4965)
  • improve check-links ci job
    (#​4978)
  • Resolve some Pyright type errors in Span/ReadableSpan and utility stubs
    (#​4973)
  • opentelemetry-exporter-prometheus: Fix metric name prefix
    (#​4895)
  • opentelemetry-api, opentelemetry-sdk: Add deepcopy support for BoundedAttributes and BoundedList
    (#​4934)
  • opentelemetry-proto-json, opentelemetry-codegen-json: Implement custom protoc plugin to generate OTLP JSON class definitions
    (#​4910)
  • Add configurable max_export_batch_size to OTLP HTTP metrics exporter
    (#​4576)
  • opentelemetry-sdk: Implement experimental Meter configurator
    (#​4966)
  • opentelemetry-exporter-otlp-proto-http: use consistent protobuf for export request
    (#​5015)
  • opentelemetry-sdk: cache TracerConfig into the tracer, this changes an internal interface. Only one Tracer with the same instrumentation scope will be created
    (#​5007)
  • Redo OTLPMetricExporter unit tests of max_export_batch_size to use real export
    (#​5036)
  • opentelemetry-sdk: Implement experimental Logger configurator
    (#​4980)

v1.40.0

Compare Source

  • opentelemetry-sdk: deprecate LoggingHandler in favor of opentelemetry-instrumentation-logging, see opentelemetry-instrumentation-logging documentation
    (#​4919)
  • opentelemetry-sdk: Clarify log processor error handling expectations in documentation
    (#​4915)
  • bump semantic-conventions to v1.40.0
    (#​4941)
  • Add stale PR GitHub Action
    (#​4926)
  • opentelemetry-sdk: Drop unused Jaeger exporter environment variables (exporter removed in 1.22.0)
    (#​4918)
  • opentelemetry-sdk: Clarify timeout units in environment variable documentation
    (#​4906)
  • opentelemetry-exporter-otlp-proto-grpc: Fix re-initialization of gRPC channel on UNAVAILABLE error
    (#​4825)
  • opentelemetry-exporter-prometheus: Fix duplicate HELP/TYPE declarations for metrics with different label sets
    (#​4868)
  • Allow loading all resource detectors by setting OTEL_EXPERIMENTAL_RESOURCE_DETECTORS to *
    (#​4819)
  • opentelemetry-sdk: Fix the type hint of the _metrics_data property to allow None
    (#​4837).
  • Regenerate opentelemetry-proto code with v1.9.0 release
    (#​4840)
  • Add python 3.14 support
    (#​4798)
  • Silence events API warnings for internal users
    (#​4847)
  • opentelemetry-sdk: make it possible to override the default processors in the SDK configurator
    (#​4806)
  • Prevent possible endless recursion from happening in SimpleLogRecordProcessor.on_emit,
    (#​4799) and (#​4867).
  • Implement span start/end metrics
    (#​4880)
  • Add environment variable carriers to API
    (#​4609)
  • Add experimental composable rule based sampler
    (#​4882)
  • Make ConcurrentMultiSpanProcessor fork safe
    (#​4862)
  • opentelemetry-exporter-otlp-proto-http: fix retry logic and error handling for connection failures in trace, metric, and log exporters
    (#​4709)
  • opentelemetry-sdk: avoid RuntimeError during iteration of view instrument match dictionary in MetricReaderStorage.collect()
    (#​4891)
  • Implement experimental TracerConfigurator
    (#​4861)
  • opentelemetry-sdk: Fix instrument creation race condition
    (#​4913)
  • bump semantic-conventions to v1.39.0
    (#​4914)
  • opentelemetry-sdk: automatically generate configuration models using OTel config JSON schema
    (#​4879)

v1.39.1: Version 1.39.1/0.60b1

Compare Source

This is a patch release on the previous 1.39.0/0.60b0 release, fixing the issue(s) below.

  • Silence events API warnings for internal users (#​4847)

v1.39.0

Compare Source

  • opentelemetry-api: Convert objects of any type other than AnyValue in attributes to string to be exportable
    (#​4808)

  • docs: Added sqlcommenter example
    (#​4734)

  • build: bump ruff to 0.14.1
    (#​4782)

  • Add opentelemetry-exporter-credential-provider-gcp as an optional dependency to opentelemetry-exporter-otlp-proto-grpc
    and opentelemetry-exporter-otlp-proto-http
    (#​4760)

  • feat: implement on ending in span processor
    (#​4775)

  • semantic-conventions: Bump to 1.38.0
    (#​4791)

  • [BREAKING] Remove LogData and extend SDK LogRecord to have instrumentation scope
    (#​4676)

  • [BREAKING] Rename several classes from Log to LogRecord
    (#​4647)

    Migration Guide:

    LogData has been removed. Users should update their code as follows:

    • For Log Exporters: Change from Sequence[LogData] to Sequence[ReadableLogRecord]

      # Before
      from opentelemetry.sdk._logs import LogData
      def export(self, batch: Sequence[LogData]) -> LogRecordExportResult:
          ...
      
      # After
      from opentelemetry.sdk._logs import ReadableLogRecord
      def export(self, batch: Sequence[ReadableLogRecord]) -> LogRecordExportResult:
          ...
    • For Log Processors: Use ReadWriteLogRecord for processing, ReadableLogRecord for exporting

      # Before
      from opentelemetry.sdk._logs import LogData
      def on_emit(self, log_data: LogData):
          ...
      
      # After
      from opentelemetry.sdk._logs import ReadWriteLogRecord, ReadableLogRecord
      def on_emit(self, log_record: ReadWriteLogRecord):
          # Convert to ReadableLogRecord before exporting
          readable = ReadableLogRecord(
              log_record=log_record.log_record,
              resource=log_record.resource or Resource.create({}),
              instrumentation_scope=log_record.instrumentation_scope,
              limits=log_record.limits,
          )
          ...
    • Accessing log data: Use the same attributes on ReadableLogRecord/ReadWriteLogRecord

      • log_record.log_record - The API LogRecord (contains body, severity, attributes, etc.)
      • log_record.resource - The Resource
      • log_record.instrumentation_scope - The InstrumentationScope (now included, was in LogData before)
      • log_record.limits - The LogRecordLimits
  • Mark the Events API/SDK as deprecated. The Logs API/SDK should be used instead, an event is now a LogRecord with the event_name field set
    (#​4654).

  • Fix type checking for built-in metric exporters
    (#​4820)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 bot force-pushed the konflux/mintmaker/main/opentelemetry-python-monorepo branch from b441b2b to 1f8bd4c Compare April 9, 2026 16:10
@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 bot changed the title chore(deps): update opentelemetry-python monorepo to v1.40.0 chore(deps): update opentelemetry-python monorepo to v1.41.0 Apr 9, 2026
@red-hat-konflux-kflux-prd-rh02
Copy link
Copy Markdown
Contributor Author

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.

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