1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! The span-export seam: where assembled OTLP payloads go.
//!
//! Export is **read-only and off the request's critical path** (`docs/05`): the
//! pipeline hands a finished payload to [`SpanExporter::export`], which returns
//! immediately, a concrete exporter ships it in the background and an export
//! failure never affects the request. When no exporter is configured the default
//! [`NoopExporter`] reports [`SpanExporter::enabled`] `false`, so the pipeline
//! skips even *encoding* the payload, "Off" is near-zero cost.
use Value;
/// Receives finished OTLP span payloads for delivery to a collector.
///
/// Implementations MUST NOT block: `export` is called inline on the request path,
/// so any network I/O belongs in a spawned task. They MUST NOT panic.
/// The default exporter: export is disabled, so the pipeline never encodes a
/// payload and nothing is shipped.
;