Skip to content

chore(deps): update opentelemetry-python monorepo to v1.39.1#391

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/opentelemetry-python-monorepo
Open

chore(deps): update opentelemetry-python monorepo to v1.39.1#391
renovate[bot] wants to merge 1 commit intomainfrom
renovate/opentelemetry-python-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Sep 15, 2025

This PR contains the following updates:

Package Change Age Confidence
opentelemetry-api 1.36.01.39.1 age confidence
opentelemetry-exporter-otlp-proto-http 1.36.01.39.1 age confidence
opentelemetry-sdk 1.36.01.39.1 age confidence

Release Notes

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

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)

v1.38.0

Compare Source

  • Add rstcheck to pre-commit to stop introducing invalid RST
    (#​4755)
  • logs: extend Logger.emit to accept separated keyword arguments
    (#​4737)
  • logs: add warnings for classes that would be deprecated and renamed in 1.39.0
    (#​4771)

v1.37.0

Compare Source

  • Add experimental composite samplers
    (#​4714)
  • Add new environment variables to the SDK OTEL_PYTHON_EXPORTER_OTLP_{HTTP/GRPC}_{METRICS/TRACES/LOGS}_CREDENTIAL_PROVIDER that can be used to
    inject a requests.Session or grpc.ChannelCredentials object into OTLP exporters created during auto instrumentation #​4689.
  • Filter duplicate logs out of some internal logger's logs on the export logs path that might otherwise endlessly log or cause a recursion depth exceeded issue in cases where logging itself results in an exception.
    (#​4695).
  • docs: linked the examples with their github source code location and added Prometheus example
    (#​4728)
  • Permit to override default HTTP OTLP exporters headers
    (#​4634)
  • semantic-conventions: Bump to 1.37.0
    (#​4731)
  • opentelemetry-sdk: fix handling of OTEL_ATTRIBUTE_COUNT_LIMIT in logs
    (#​4677)
  • Performance: Cache importlib_metadata.entry_points
    (#​4735)
  • opentelemetry-sdk: fix calling Logger.emit with an API LogRecord instance
    (#​4741)

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone America/Chicago, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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

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

@renovate renovate bot requested a review from a team September 15, 2025 05:09
@renovate renovate bot changed the title fix(deps): update opentelemetry-python monorepo to v1.37.0 chore(deps): update opentelemetry-python monorepo to v1.37.0 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/opentelemetry-python-monorepo branch from 842898f to 5b4c177 Compare October 16, 2025 10:54
@renovate renovate bot changed the title chore(deps): update opentelemetry-python monorepo to v1.37.0 chore(deps): update opentelemetry-python monorepo to v1.38.0 Oct 16, 2025
@renovate renovate bot changed the title chore(deps): update opentelemetry-python monorepo to v1.38.0 chore(deps): update opentelemetry-python monorepo to v1.39.0 Dec 3, 2025
@renovate renovate bot force-pushed the renovate/opentelemetry-python-monorepo branch from 5b4c177 to 838e3f5 Compare December 3, 2025 14:37
@renovate renovate bot force-pushed the renovate/opentelemetry-python-monorepo branch from 838e3f5 to 5d650d4 Compare December 11, 2025 14:05
@renovate renovate bot changed the title chore(deps): update opentelemetry-python monorepo to v1.39.0 chore(deps): update opentelemetry-python monorepo to v1.39.1 Dec 11, 2025
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.

0 participants