Get currently active span as Fiddler wrapper (inside a traced function). Gets the span from the current context and verifies it belongs to Fiddler’s tracer to maintain isolation from other OpenTelemetry tracers.Documentation Index
Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt
Use this file to discover all available pages before exploring further.
Returns
Current span wrapper or None if no active span or not a Fiddler span.Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
as_type | Literal['span', 'generation', 'chain', 'tool'] | ✗ | span | Wrapper type (‘span’, ‘generation’, ‘chain’, ‘tool’). |