Skip to content

feat(sdk): implement processor metrics#5012

Open
anuraaga wants to merge 13 commits intoopen-telemetry:mainfrom
anuraaga:processor-metrics
Open

feat(sdk): implement processor metrics#5012
anuraaga wants to merge 13 commits intoopen-telemetry:mainfrom
anuraaga:processor-metrics

Conversation

@anuraaga
Copy link
Copy Markdown
Contributor

Description

I am helping to implement SDK internal metrics

https://opentelemetry.io/docs/specs/semconv/otel/sdk-metrics/

This implements the log and span processor metrics.

Similar PR in JS: open-telemetry/opentelemetry-js#6504

Because Python has an abstraction for batch processor, I have sent one PR for both signals

/cc @xrmx to help with review.

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?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit tests

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

@anuraaga anuraaga requested a review from a team as a code owner March 26, 2026 05:33
@lzchen lzchen moved this to Ready for review in Python PR digest Mar 26, 2026
Copy link
Copy Markdown
Member

@pmcollins pmcollins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very cool. Added a note about handling an error condition.

@tammy-baylis-swi tammy-baylis-swi moved this from Ready for review to Reviewed PRs that need fixes in Python PR digest Apr 1, 2026
@xrmx xrmx moved this from Reviewed PRs that need fixes to Approved PRs in Python PR digest Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Approved PRs

Development

Successfully merging this pull request may close these issues.

5 participants