Skip to content

Commit 9d3d617

Browse files
authored
Merge branch 'main' into utpilla/Remove-ObjectSafeMeterProvider
2 parents 067e452 + 7a074b5 commit 9d3d617

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

opentelemetry-sdk/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
- Update `async-std` dependency version to 1.13
66
- *Breaking* - Remove support for `MetricProducer` which allowed metrics from
77
external sources to be sent through OpenTelemetry.
8-
[#2105](https://github.com/open-telemetry/opentelemetry-rust/pull/2105)
8+
[#2105](https://github.com/open-telemetry/opentelemetry-rust/pull/2105)
9+
- Feature: `SimpleSpanProcessor::new` is now public [#2119](https://github.com/open-telemetry/opentelemetry-rust/pull/2119)
910

1011
## v0.25.0
1112

opentelemetry-sdk/src/trace/span_processor.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ pub struct SimpleSpanProcessor {
109109
}
110110

111111
impl SimpleSpanProcessor {
112-
pub(crate) fn new(exporter: Box<dyn SpanExporter>) -> Self {
112+
/// Create a new [SimpleSpanProcessor] using the provided exporter.
113+
pub fn new(exporter: Box<dyn SpanExporter>) -> Self {
113114
Self {
114115
exporter: Mutex::new(exporter),
115116
}

0 commit comments

Comments
 (0)