Skip to content

Commit ed05f28

Browse files
authored
feat(sdk): add otel.sdk.processor.span.processed metric for BatchSpanProcessor (#3609)
1 parent 8b93943 commit ed05f28

3 files changed

Lines changed: 442 additions & 6 deletions

File tree

opentelemetry-sdk/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## vNext
44

5+
- Added SDK self-observability metric `otel.sdk.processor.span.processed` for
6+
`BatchSpanProcessor` and `SimpleSpanProcessor`, feature-gated behind
7+
`experimental_metrics_bound_instruments`. Spans are counted when the processor
8+
submits them to the exporter, independent of the export outcome; spans dropped
9+
beforehand are reported with `error.type` (`queue_full` for the batch queue,
10+
`already_shutdown` for post-shutdown emits).
11+
([#3609](https://github.com/open-telemetry/opentelemetry-rust/pull/3609))
512
- Made `futures-channel`, `futures-executor`, `futures-util`, and `thiserror`
613
optional, enabling a minimal SDK build. With `default-features = false`, the
714
SDK's only dependency is the `opentelemetry` API crate.

0 commit comments

Comments
 (0)