querying-mlflow-metrics

Fetch aggregated trace metrics from MLflow tracking servers.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/slysik/databricks-claude-coding --skill querying-mlflow-metrics-slysik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: querying-mlflow-metrics
Source: https://github.com/slysik/databricks-claude-coding/tree/main/.agents/skills/querying-mlflow-metrics
Command: npx skills add https://github.com/slysik/databricks-claude-coding --skill querying-mlflow-metrics-slysik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a streamlined way to query and analyze key performance metrics from MLflow tracking servers, helping users understand LLM token usage, latency, and quality evaluations.

Core Features & Use Cases

  • Fetch Aggregated Metrics: Retrieve metrics like token usage, latency, and trace counts.
  • Analyze Trends: Visualize usage patterns over time (e.g., hourly token trends).
  • Evaluate Quality: Assess LLM performance using quality evaluation metrics.
  • Use Case: A data scientist needs to understand the cost implications of their LLM experiments. They can use this Skill to get a sum and average of total tokens used across specific experiment IDs.

Quick Start

Run the provided script to fetch the total token usage for experiment ID 1 from your MLflow server.

Frequently Asked Questions about querying-mlflow-metrics

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

FAQPage Schema
How do I query LLM token usage and latency metrics from an MLflow tracking server?

To query LLM metrics, you fetch aggregated trace data including token usage and latency directly from an MLflow tracking server. This requires providing your MLflow server URL and specific experiment IDs to retrieve the statistics.

What is the best way to analyze LLM cost trends using MLflow experiment tracking?

Analyzing LLM cost trends using MLflow experiment tracking involves fetching aggregated token usage metrics across specific experiment IDs. You can then visualize usage patterns over time, such as hourly token trends, to assess cost implications.

Can I check LLM quality evaluations and trace counts using MLflow?

Yes, you can check LLM quality evaluations and trace counts using MLflow. The process fetches aggregated trace metrics that include quality evaluation scores and total trace counts alongside standard token usage and latency data.

Do I need specific experiment IDs to analyze LLM performance metrics in MLflow?

Yes, specific experiment IDs are required to analyze LLM performance metrics in MLflow. Along with the MLflow server URL, experiment IDs are necessary inputs to target the correct data and fetch aggregated trace statistics.

How do I view total token usage for a specific MLflow experiment?

To view total token usage for a specific MLflow experiment, you run a query using the experiment ID and your MLflow server URL. This retrieves the sum and average of total tokens used across the targeted experiment traces.