Is your feature request related to a problem? Please describe.
We would like to link/nest the triton server traces with the code that is runned inside a python backend can be properly linked using open telemetry
Describe the solution you'd like
A method ( and documentation ) for triton_python_backend_utils to get the either the current trace (full object ) or just the span_id
I'm not sure if this could be wired into the module easily
https://github.com/triton-inference-server/python_backend/blob/r25.11/src/pb_stub.cc#L1641-L1649
Describe alternatives you've considered
Getting the request trace as a param, however this leaves it detach from the triton server chain
Additional context
Is your feature request related to a problem? Please describe.
We would like to link/nest the triton server traces with the code that is runned inside a python backend can be properly linked using open telemetry
Describe the solution you'd like
A method ( and documentation ) for triton_python_backend_utils to get the either the current trace (full object ) or just the span_id
I'm not sure if this could be wired into the module easily
https://github.com/triton-inference-server/python_backend/blob/r25.11/src/pb_stub.cc#L1641-L1649
Describe alternatives you've considered
Getting the request trace as a param, however this leaves it detach from the triton server chain
Additional context