Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 904 Bytes

File metadata and controls

35 lines (24 loc) · 904 Bytes

MLflow Tracing Setup (Manual Fallback)

Tracing is optional. Use this guide only if preflight setup does not configure tracing automatically in your environment.

1) Create and activate .venv

python3 -m venv .venv
source .venv/bin/activate

2) Install MLflow

pip install "mlflow[genai]>=3.4"

3) Configure settings from template

Use .claude/settings.example.json and copy the MLflow-related keys/hook blocks into your active settings file:

  • Project-level: .claude/settings.local.json
  • Global: ~/.claude/settings.json

Required pieces:

  • MLFLOW_CLAUDE_TRACING_ENABLED, MLFLOW_PORT, MLFLOW_EXPERIMENT_NAME
  • SessionStart and Stop hooks Note: Set MLFLOW_CLAUDE_TRACING_ENABLED to false to disable tracking

4) Start claude

claude 

Then run Claude and execute an RCA prompt. If configured correctly, traces appear in your MLflow UI.