Skip to content

Conversation

Prhmma
Copy link

@Prhmma Prhmma commented Oct 10, 2025

Description

Introduces a MetricProducer interface and integrates the producer collection into MetricReader.collect, enabling the Python SDK to ingest metrics from third-party sources. Adds supporting tests, documentation, and examples.

Fixes #4768

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

tox -e py310-test-opentelemetry-sdk -- -k "MetricProducer" -vv (uses uv to provision; passes MetricProducer suite, with the known benign Windows teardown AttributeError in TestLoggingInit.test_dictConfig_preserves_otel_handler)

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@Prhmma Prhmma requested a review from a team as a code owner October 10, 2025 21:15
Copy link

linux-foundation-easycla bot commented Oct 10, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: Prhmma / name: Parham (b66924f)

@Prhmma Prhmma force-pushed the feature/4768-metric-producer branch from fec8ce1 to b66924f Compare October 10, 2025 21:20
@xrmx xrmx moved this to Ready for review in @xrmx's Python PR digest Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

Feature gap: MetricProducer

1 participant