TraceEvent
A completed span emitted by :class:CallbackTracer.
Attributes
attributenamestrThe span name (e.g. "margrete.tx.apply").
attributestart_nsintStart time from a monotonic clock, in nanoseconds.
attributeend_nsintEnd time from a monotonic clock, in nanoseconds.
attributeattrsdict[str, Any]Attributes attached when the span was opened.
attributeerror_typestr | None= NoneException class name if the span ended with an error, else None.
attributeerror_messagestr | None= NoneException message if the span ended with an error, else None.
attributeduration_sfloatThe span's wall-clock duration in seconds.
Functions
func__init__(self, name, start_ns, end_ns, attrs, error_type=None, error_message=None) -> Noneparamselfparamnamestrparamstart_nsintparamend_nsintparamattrsdict[str, Any]paramerror_typestr | None= Noneparamerror_messagestr | None= NoneReturns
None