Skip to content

Commit 0a82887

Browse files
committed
nit typo
1 parent 0d97896 commit 0a82887

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

opentelemetry-sdk/src/trace/span_processor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub trait SpanProcessor: Send + Sync + std::fmt::Debug {
9393
///
9494
/// Implementation should make sure shutdown can be called multiple times.
9595
fn shutdown(&self) -> TraceResult<()>;
96-
/// Set the resource for the log processor.
96+
/// Set the resource for the span processor.
9797
fn set_resource(&mut self, _resource: &Resource) {}
9898
}
9999

@@ -310,7 +310,7 @@ impl BatchSpanProcessor {
310310
}
311311
Err(RecvTimeoutError::Disconnected) => {
312312
otel_error!(
313-
name: "BatchLogProcessor.InternalError.ChannelDisconnected",
313+
name: "BatchSpanProcessor.InternalError.ChannelDisconnected",
314314
message = "Channel disconnected, shutting down processor thread."
315315
);
316316
break;

opentelemetry-sdk/src/trace/span_processor_with_async_runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl<R: RuntimeChannel> SpanProcessor for BatchSpanProcessor<R> {
141141
name: "BatchSpanProcessor.Shutdown",
142142
dropped_spans = dropped_spans,
143143
max_queue_size = max_queue_size,
144-
message = "Spans were dropped due to a full or closed queue. The count represents the total count of span records dropped in the lifetime of the BatchLogProcessor. Consider increasing the queue size and/or decrease delay between intervals."
144+
message = "Spans were dropped due to a full or closed queue. The count represents the total count of span records dropped in the lifetime of the BatchSpanProcessor. Consider increasing the queue size and/or decrease delay between intervals."
145145
);
146146
}
147147

0 commit comments

Comments
 (0)