cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

MLFlow Detailed Trace view doesn't work in some workspaces

thomasm
New Contributor II

I've created a Databricks Model Serving Endpoint which serves an MLFlow Pyfunc model. The model uses langchain and I'm using mlflow.langchain.autolog().

At my company we have some production(-like) workspaces where users cannot e.g. run Notebooks and everything is done my Service Principals (e.g. in Jobs).

In those workspaces, I cannot use the detailed trace view to inspect my MLFlow traces. I can see a list of traces in the Experiments UI

 

thomasm_1-1767785859607.png

but when I click on an individual trace, I get something like

thomasm_0-1767785737567.png

and not the clean Langchain detailed view like

thomasm_2-1767785939124.png

Interestingly, if I use another workspace (where human users have more access) to `display` the Inference Table in a Notebook similar to [this](https://docs.databricks.com/aws/en/mlflow3/genai/tracing/observe-with-traces/ui-traces#tracing-in-da...), I can access this nice detailed view.

Is there a workspace setting (or access to compute resources) that is necessary in order to display the Detailed Trace view?

3 REPLIES 3

thomasm
New Contributor II

FWIW in the 'sandbox' workspace I can see more detailed traces in the Experiments UI. The UI there also looks a bit different, it has a part indicated with a red triangle

thomasm_0-1767795162920.png

that is absent in the 'production' workspaces where the detailed view doesn't work

thomasm_1-1767795249069.png

 

 

JAHNAVI
Databricks Employee
Databricks Employee

@thomasm , could you try setting the time range option to custom instead of 7 days? It should show the custom time range tab as shown in the first screenshot. By default, it is 7 days, which is the reason we don't see a range. 

Jahnavi N

JAHNAVI
Databricks Employee
Databricks Employee

Regarding the Trace UI, the level of detail shown depends on how many models or agents are involved in generating the output.

  • If a single model is used with a direct input and output, the traces appear simple and minimal.

  • If multiple agents or models are involved in producing the output, the Trace UI will display separate traces for each component, reflecting the interactions between them.

In other words, the Trace UI becomes more detailed as the workflow becomes more complex, providing visibility into each step and component involved in generating the final response.

Jahnavi N