Skip to main content

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.

Check if a span belongs to Fiddler’s tracer. Verifies span ownership by checking for Fiddler’s APPLICATION_ID in resource attributes. This ensures isolation from other OpenTelemetry tracers that may be active.

Parameters

ParameterTypeRequiredDefaultDescription
span`SpanNone`None

Returns

True if span is a Fiddler span, False otherwise. Return type: bool

Example

from fiddler_otel.utils import is_fiddler_span
from opentelemetry import trace

otel_span = trace.get_current_span()
if is_fiddler_span(otel_span):
    print("This span belongs to Fiddler")