Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Backend Tracing #5777

Open
jishminor opened this issue May 11, 2023 · 1 comment
Open

Custom Backend Tracing #5777

jishminor opened this issue May 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@jishminor
Copy link
Contributor

Is your feature request related to a problem? Please describe.
It seems like there is no prescribed way to add additional custom information to triton traces in a custom backend. Is this correct?

Describe the solution you'd like
Ability to fetch parent ID of trace in backend, append extra information (in my case performance counter data), and write results to the TraceManager object built into the tritonserver executable implementation of Tritonserver, such that the extra trace data is generated and processed with the existing trace analysis tools for Triton.

Describe alternatives you've considered
It is pretty straight forward to add custom metrics as described in the documentation, however the metric types being either a rolling counter or gauge is a bit limiting when looking at performance counter data. Perf counter data would make more sense in the context of the Triton tracing infrastructure (ie request id X had Y L1_DCACHE misses etc).

My understanding may be incomplete, but although the ability to create traces is exposed through the tritonserver C API, it is only the tritonserver implementation in this repository that defines the TraceManager class, which seems designed to handle the actual capture and reporting of traces in Triton or OpenTelemetry format, and there is no way to access this from a custom backend.

@tanmayv25 tanmayv25 added the enhancement New feature or request label May 12, 2023
@rmccorm4
Copy link
Collaborator

CC @oandreeva-nv for viz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants