Skip to content

Commit 1098354

Browse files
committed
add batchlog doc
1 parent a05dbda commit 1098354

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

opentelemetry-sdk/src/logs/log_processor.rs

+8
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,14 @@ type LogsData = Box<(LogRecord, InstrumentationScope)>;
223223
/// - **Export timeout**: Maximum duration allowed for an export operation.
224224
/// - **Scheduled delay**: Frequency at which the batch is exported.
225225
///
226+
/// When using this processor with the OTLP Exporter, the following exporter
227+
/// features are supported:
228+
/// - `grpc-tonic`: This requires `MeterProvider` to be created within a tokio
229+
/// runtime.
230+
/// - `reqwest-blocking-client`: Works with a regular `main` or `tokio::main`.
231+
///
232+
/// In other words, other clients like `reqwest` and `hyper` are not supported.
233+
///
226234
/// ### Using a BatchLogProcessor:
227235
///
228236
/// ```rust

0 commit comments

Comments
 (0)