Skip to content

Clarify SDK processor processed metric boundary#3902

Open
cijothomas wants to merge 3 commits into
open-telemetry:mainfrom
cijothomas:cijothomas/clarify-processor-processed-boundary
Open

Clarify SDK processor processed metric boundary#3902
cijothomas wants to merge 3 commits into
open-telemetry:mainfrom
cijothomas:cijothomas/clarify-processor-processed-boundary

Conversation

@cijothomas

Copy link
Copy Markdown
Member

Clarifies that otel.sdk.processor.{span,log}.processed records 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.

Copilot AI review requested due to automatic review settings July 16, 2026 20:53
@github-actions github-actions Bot added enhancement New feature or request area:otel labels Jul 16, 2026
@cijothomas
cijothomas marked this pull request as ready for review July 16, 2026 20:55
@cijothomas
cijothomas requested review from a team as code owners July 16, 2026 20:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.processed note 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.

Comment thread model/otel/metrics.yaml Outdated
Comment thread model/otel/metrics.yaml Outdated
Comment thread docs/otel/sdk-metrics.md Outdated
Comment thread docs/otel/sdk-metrics.md Outdated
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 21, 2026

Copy link
Copy Markdown

Pull request dashboard status

Status last refreshed: 2026-07-25 12:00:06 UTC.

  • Waiting on: Reviewers
  • Next step: Review the latest changes.

This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:otel enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants