You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opentelemetry-sdk/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
-*Fix* SpanProcessor::on_start is no longer called on non recording spans
7
7
-**Fix**: Restore true parallel exports in the async-native `BatchSpanProcessor` by honoring `OTEL_BSP_MAX_CONCURRENT_EXPORTS` ([#2959](https://github.com/open-telemetry/opentelemetry-rust/pull/3028)). A regression in [#2685](https://github.com/open-telemetry/opentelemetry-rust/pull/2685) inadvertently awaited the `export()` future directly in `opentelemetry-sdk/src/trace/span_processor_with_async_runtime.rs` instead of spawning it on the runtime, forcing all exports to run sequentially.
8
8
-**Feature**: Added `Clone` implementation to `SdkLogger` for API consistency with `SdkTracer` ([#3058](https://github.com/open-telemetry/opentelemetry-rust/issues/3058)).
9
+
-**Feature**: Add support for `OTEL_SDK_DISABLED` environment variable ([#3088](https://github.com/open-telemetry/opentelemetry-rust/pull/3088))
otel_info!(name:"LoggerNameEmpty", message = "Logger name is empty; consider providing a meaningful name. Logger will function normally and the provided name will be used as-is.");
@@ -196,6 +197,10 @@ impl MeterProvider for SdkMeterProvider {
196
197
);
197
198
returnMeter::new(Arc::new(NoopMeter::new()));
198
199
}
200
+
ifself.inner.is_disabled{
201
+
otel_warn!(name:"MeterProvider.NoOpMeterReturned", message = "Returned NoOpMeter. SDK is disabled");
202
+
returnMeter::new(Arc::new(NoopMeter::new()));
203
+
}
199
204
200
205
if scope.name().is_empty(){
201
206
otel_info!(name:"MeterNameEmpty", message = "Meter name is empty; consider providing a meaningful name. Meter will function normally and the provided name will be used as-is.");
0 commit comments