Skip to main content

is_exported

Function is_exported 

Source
fn is_exported(metadata: &Metadata<'_>) -> bool
Expand description

Returns true if the OpenTelemetry layer should see this span or event.

Spans not in EXPORTED_SPANS are hidden from the layer, so a span exported under one of them starts its own trace. Events are exported only at WARN and above, attached to the exported span they happen in.