Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: expose
SimpleSpanProcessor::new
This commit update the visibility of the method `SimpleSpanProcessor::new` from `pub(crate)` to `pub`. This enables consumers to create `SimpleSpanProcessor` values for use with `trace::provider::Builder::with_span_processor`. In particular, this fixes a consistency issue: the `BatchSpanProcessor` struct may already be built thanks to its `pub` builder. With this change, both processors in this repo may be built manually. Closes open-telemetry#2060
- Loading branch information