python-hunter icon indicating copy to clipboard operation
python-hunter copied to clipboard

Language neutral trace format

Open guettli opened this issue 7 years ago • 3 comments

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

guettli avatar Feb 01 '19 08:02 guettli

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 ...

ionelmc avatar Feb 01 '19 10:02 ionelmc

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 avatar Feb 16 '20 04:02 ctrngk

@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.

guettli avatar Feb 17 '20 19:02 guettli