Open
Description
Hello all,
It would be convenient to have a python autoinstrumentor, which would create a new span for each function, add inputs and outputs of functions as attributes etc...
I would just call PythonInstrumentor.instrument()
and I would receive the traces for all function calls and returns in my collector.
There might be different ways to do that, the first easy way I see is to use the sys.monitoring to start a span on function calls and terminate them on function returns
Questions:
- Does a python autoinstrumentor like this already exist ?
- If it does not exist, why is it a bad idea ?
Also do you see reasons why it would be a bad idea to implement this python instrumentor using sys.monitoring ?
Thank you for your responses
Metadata
Metadata
Assignees
Labels
No labels