Re-exported from
fiddler_otel.decorators.trace.client= is not passed.
Supports both sync and async functions.
Parameters
Function to decorate.
Custom span name (defaults to the function name).
Span type —
"span", "generation", "chain", or "tool".Capture function arguments as span input.
Capture the return value as span output.
FiddlerClient instance (defaults to
get_client()).LLM model name; sets
gen_ai.request.model.User identifier; sets
user.id.Version string; sets
service.version.LLM provider; sets
gen_ai.system.Returns
The decorated function.
See the canonical reference for the full description and examples.