JSONLSpanCapture

API reference for JSONLSpanCapture

JSONLSpanCapture

Captures OpenTelemetry span data and saves it to JSONL format with structured fields.

Parameters

Parameter
Type
Required
Default
Description

jsonl_file_path

str | None

‘fiddler_trace_data.jsonl’

Path to the JSONL file. If None, uses FIDDLER_JSONL_FILE env var (jsonl’)

capture_span()

Capture a span and write it to JSONL file.

Parameters

span (ReadableSpan) Return type: None

Last updated

Was this helpful?