querying-mlflow-metrics

Fetch aggregated MLflow trace metrics from tracking servers.

4|4|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/RamVegiraju/databricks-samples --skill querying-mlflow-metrics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: querying-mlflow-metrics
Source: https://github.com/RamVegiraju/databricks-samples/tree/main/.claude/skills/querying-mlflow-metrics
Command: npx skills add https://github.com/RamVegiraju/databricks-samples --skill querying-mlflow-metrics

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

ML teams need to quickly fetch, aggregate, and visualize MLflow trace metrics (trace_count, latency, tokens, assessments) from tracking servers to monitor model performance, cost, and quality over time.

Core Features & Use Cases

  • Retrieve aggregation results for traces, spans, and assessments via a single API client.
  • Compare token usage, latency, and quality scores across experiments and time ranges.
  • Use cases include cost monitoring, performance debugging, and evaluation trend analysis for ML experiments.

Quick Start

Query your MLflow server to fetch aggregated trace metrics for the given experiments and time range.

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 MLflow trace metrics for token usage and latency profiling?

You can query MLflow trace metrics using a CLI/API-like interface to fetch aggregations like COUNT, SUM, AVG, and PERCENTILE across experiments, enabling token usage analysis and latency profiling over time.

What is the best way to aggregate MLflow trace metrics across time ranges?

The best way to aggregate MLflow metrics across time ranges is by using time-bucket options with view types like TRACES, SPANS, and ASSESSMENTS to monitor model performance and cost over time.

Do I need an active MLflow tracking server to fetch trace metrics?

Yes, an active MLflow tracking server is required. This Skill connects to the server to retrieve deterministic trace metrics for production or development environments.

Can I filter MLflow span and assessment data by specific dimensions?

Yes, you can filter MLflow span and assessment data by applying optional dimensions and filters to your queries, allowing targeted cost monitoring and quality assessment of ML experiments.

What MLflow views are available for monitoring experiment quality assessments?

Available MLflow views for monitoring experiment quality assessments include TRACES, SPANS, and ASSESSMENTS, which support evaluating evaluation trends and debugging performance issues.