Skip to content
Judgment Labs
Esc
↑↓navigate↵open⌘Jpreview
On this page

NoOpJudgmentSpanExporter

A span exporter that silently discards all spans.

Used internally when monitoring is disabled (e.g. missing credentials). All operations succeed immediately without performing any I/O.

__init__()

def __init__():

export()

def export(spans) -> SpanExportResult:

Parameters

PropType
spansSequence[ReadableSpan]
TypeSequence[ReadableSpan]

Returns

SpanExportResult


shutdown()

def shutdown() -> None:

Returns

None


force_flush()

def force_flush(timeout_millis=30000) -> bool:

Parameters

PropType
timeout_millis?int
Typeint
Default30000

Returns

bool

Was this page helpful?