Clarify SDK processor processed metric boundary#3902
Open
cijothomas wants to merge 3 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR clarifies the semantic boundary for otel.sdk.processor.{span,log}.processed, specifying that “successful processing” is recorded when an SDK processor invokes the export operation (not at queue acceptance, and not when export completes), and that the export operation’s outcome must not affect this metric.
Changes:
- Refines the
otel.sdk.processor.span.processednote to define the processed boundary at export invocation time, including batching semantics. - Applies the same clarification to
otel.sdk.processor.log.processed. - Adds a changelog entry documenting the clarification.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| model/otel/metrics.yaml | Updates the metric notes to define “processed” at exporter invocation time for span/log processors, including batching semantics. |
| docs/otel/sdk-metrics.md | Updates the autogenerated SDK metrics documentation to reflect the clarified processed boundary. |
| .chloggen/clarify-sdk-processor-processed-boundary.yaml | Adds a release note entry for the clarification. |
Pull request dashboard statusStatus last refreshed: 2026-07-25 12:00:06 UTC.
This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clarifies that
otel.sdk.processor.{span,log}.processedrecords successful processing when the processor invokes the exporter, not when an item is accepted into a queue or when export completes.Implementations currently differ, so requesting feedback from @open-telemetry/java-maintainers, @open-telemetry/go-maintainers, and @open-telemetry/python-maintainers.