Hi!
I am trying to use the trace viewer to visualize python logging+autologging.
Autologging is like tracing, this is the easy part.
But logging events (INFO, DEBUG etc) are not so easy, or, I am missing something?
If
I use instant events ("ph":"i"), then events are rendered only one
pixel wide. The problem is: this is basically invisible to the user ...
Example picture, I added the arrows to highlight.
For completeness, this is the example corresponding log fragment produced by logging/autologging. (I made a tool to convert this into tracing .json.)
2022-05-08 10:27:12,727408:TRACE:demo.py,6:__init__:CALL *('some_argument',) **{}
2022-05-08 10:27:12,727512:TRACE:demo.py,9:f:CALL *() **{}
2022-05-08 10:27:12,727564:INFO:demo.py,10:f:hi!
2022-05-08 10:27:12,727655:TRACE:demo.py,9:f:RETURN None
2022-05-08 10:27:12,727710:DEBUG:demo.py,8:__init__:__init__ done
2022-05-08 10:27:12,727738:TRACE:demo.py,6:__init__:RETURN None
2022-05-08 10:27:12,727767:TRACE:demo.py,12:g:CALL *() **{}
2022-05-08 10:27:12,727793:TRACE:demo.py,12:g:RETURN 3
2022-05-08 10:27:12,727838:WARNING:demo.py,21:<module>:done
So my main question: Is there a way to have these events rendered as circles or triangles, insensitive to zoom level? (Am I correct in assuming that using "instant events" is correct approach?)
I would be really happy to have something similar to the automagic alerts, or circles from the top lane of the screenshot from
Android demo.
Thanks in advance!
Best regards,
Jan Feitsma