promptflow icon indicating copy to clipboard operation
promptflow copied to clipboard

[Feature Request] Traicing tool for inference

Open ArtyomZemlyak opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. We now have good tracing capabilities in VS Code Extension. But it is not recorded in the output service (as I understand, but I could be wrong).

Describe the solution you'd like It will be very cool if we can get traces from some inference endpoint and check them with a tracing tool (like LangSmith). Or we can download the logs from the endpoint via some REST function and check them in the VSCode Extension - this could also be very useful (possibly back-end integration without having to download anything manually).

ArtyomZemlyak avatar Nov 07 '23 06:11 ArtyomZemlyak

Hi @ArtyomZemlyak , we have the trace graph in the vscode extension already, single run, and visualization on batch runs, not sure if it's the "tracing capabilities" you mentioned is good. 😄 image image

From your description on solution, it seems that you have a deployed flow as an endpoint and now you're looking for a feature that allows you to retrieve or download traces and logs from inference instances, this would allow you to visualize and analyze them in your preferred system. However, direct visualization the trace of inference instance within pf would be an ideal solution.

This can indeed be seen as a form of 'post-deploy monitoring'. Do I have to understand correctly?

jiaochenlu avatar Nov 15 '23 13:11 jiaochenlu

@jiaochenlu Thanks for reply! Yes, visualizations in VSCode Extension is very good and helpfull!

And yes, for inference services with pf it can be sort of 'post-deploy monitoring'. I saw some issue, which can be one of solutions (or partely): https://github.com/microsoft/promptflow/issues/1149

ArtyomZemlyak avatar Nov 16 '23 05:11 ArtyomZemlyak