Open guettli opened 5 years ago
For the remote tracing feature this is what was considered before implementation: https://github.com/ionelmc/python-hunter/issues/27
For background: one of my goals with hunter is to be simple and lightweight. I didn't want to bring in serialization and heavy dependencies, unless there's no other option.
Regardless, I'm fond of sysdig, maybe hunter could have it's --write
/ --read
features (they use pcap or something) one day ...
html format. It could be very colorful. With js, it could even support collapse/hide, tooltip, etc. I tried to reformat output in txt two years ago. It is silly. Color is lost. It is not as expressive as html.
@ctrngk I was thinking about a data format. For example a json/yaml/proto-buff schema. HTML is for presenting the trace. For displaying the trace https://github.com/jlfwong/speedscope could get used.
Out of curiosity I asked if there is a language neutral trace format:
https://stackoverflow.com/questions/54330099/language-neutral-trace-format
There are interesting answers.
It would be very nice, if python-hunter could export a format which can get used by other tools