Пример #1
0
             ("foobar.py", 19, "func5"),
         ],
         wall_time_ns=13244,
         cpu_time_ns=501809,
         sampling_period=1000000,
         nframes=3,
     ),
 ],
 threading.LockAcquireEvent: [
     threading.LockAcquireEvent(
         lock_name="foobar.py:12",
         timestamp=1,
         thread_id=67892304,
         thread_name="MainThread",
         frames=[
             ("foobar.py", 23, "func1"),
             ("foobar.py", 44, "func2"),
             ("foobar.py", 19, "func5"),
         ],
         nframes=3,
         wait_time_ns=74839,
         sampling_pct=10,
     ),
     threading.LockAcquireEvent(
         lock_name="foobar.py:12",
         timestamp=2,
         thread_id=67892304,
         thread_name="MainThread",
         frames=[
             ("foobar.py", 23, "func1"),
             ("foobar.py", 44, "func2"),
             ("foobar.py", 20, "func5"),
Пример #2
0
         wall_time_ns=13244,
         cpu_time_ns=501809,
         sampling_period=1000000,
         nframes=3,
     ),
 ],
 threading.LockAcquireEvent: [
     threading.LockAcquireEvent(
         lock_name="foobar.py:12",
         timestamp=1,
         thread_id=67892304,
         thread_name="MainThread",
         frames=[
             ("foobar.py", 23, "func1"),
             ("foobar.py", 44, "func2"),
             ("foobar.py", 19, "func5"),
         ],
         trace_id=23435,
         span_id=345432,
         trace_resource="myresource",
         trace_type=ext.SpanTypes.WEB.value,
         nframes=3,
         wait_time_ns=74839,
         sampling_pct=10,
     ),
     threading.LockAcquireEvent(
         lock_name="foobar.py:12",
         timestamp=2,
         thread_id=67892304,
         thread_name="MainThread",
         trace_resource="notme",
         trace_type="sql",