analyzing-mlflow-trace

Analyze MLflow trace JSON to identify failure root causes and bottlenecks.

1|1|Updated Oct 1, 2025
One-click install
npx skills add https://github.com/mkgs-databricks-demos/synthea-on-fhir --skill analyzing-mlflow-trace-mkgs-databricks-demos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyzing-mlflow-trace
Source: https://github.com/mkgs-databricks-demos/synthea-on-fhir/tree/main/.cursor/skills/analyze-mlflow-trace
Command: npx skills add https://github.com/mkgs-databricks-demos/synthea-on-fhir --skill analyzing-mlflow-trace-mkgs-databricks-demos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Analyzes a single MLflow trace to answer questions about debugging, root-cause analysis, or quality assessment. It helps you understand trace structure, spans, inputs/outputs, and assessments.

Core Features & Use Cases

  • Trace structure walkthrough and timing analysis for MLflow traces.
  • Identify root causes, bottlenecks, and mismatches between retrieved context and user intent.
  • Analyze span inputs/outputs and assessments to form hypotheses about failures.

Quick Start

Provide a trace ID to inspect and generate a structured analysis report.

Frequently Asked Questions about analyzing-mlflow-trace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug an MLflow trace to find the root cause of a failure?

To debug an MLflow trace, you analyze the trace's spans, inputs, outputs, and assessments. Inspecting the full trace JSON allows you to identify status errors and form hypotheses about the root cause of the failure.

Can I analyze MLflow trace spans to identify performance bottlenecks?

Yes, you can analyze MLflow trace spans to identify performance bottlenecks. By performing a timing analysis on the trace structure, you can pinpoint which specific spans are causing delays in the execution pipeline.

How do I investigate quality issues in my MLflow trace assessments?

You investigate MLflow trace quality issues by examining span inputs, outputs, and assessments. This analysis helps identify mismatches between retrieved context and user intent, guiding your understanding of quality degradation.

What is the best way to understand the structure of a complex MLflow trace?

The best way to understand a complex MLflow trace is to perform a structure walkthrough. Analyzing the trace JSON helps you interpret fields like info, data.spans, status, and rationale to map out the execution flow.

Do I need the full trace JSON to analyze my MLflow trace?

Yes, you need the full trace JSON to analyze your MLflow trace. Accessing the complete trace data, preferably exported via mlflow traces get, provides the necessary fields including spans, inputs, and outputs for accurate analysis.