decorator_async Module
The decorator to apply if you want the given function traced.
Functions
distributed_trace_async
Decorator to apply to function to get traced automatically.
Span will use the func name or "name_of_span".
distributed_trace_async(__func: Callable[[P], Awaitable[T]]) -> Callable[[P], Awaitable[T]]
Parameters
- name_of_span
- str
The span name to replace func name if necessary
- kind
- SpanKind
The kind of the span. INTERNAL by default.
Feedback
Submit and view feedback for