querying-mlflow-metrics

Fetch aggregated MLflow trace metrics for token usage, latency, and quality scores.

Updated May 20, 2026
One-click install
npx skills add https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks- --skill querying-mlflow-metrics-ice-droid-99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: querying-mlflow-metrics
Source: https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks-/tree/main/.gemini/skills/querying-mlflow-metrics
Command: npx skills add https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks- --skill querying-mlflow-metrics-ice-droid-99

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

You need fast visibility into LLM trace token usage, latency, costs, and quality evaluation trends without manually sifting through raw logs.

Core Features & Use Cases

  • Aggregated trace metrics retrieval: Pulls trace counts, token usage (input/output/total), and latency summaries from MLflow.
  • Time-bucketed trend analysis: Produces hourly or daily bucketed results over a chosen time range for usage and performance monitoring.
  • Quality evaluation querying: Fetches assessment/evaluator scores (and counts) to understand model quality drift across runs.

Quick Start

Use the querying-mlflow-metrics skill to fetch total token usage for an MLflow experiment and return SUM and AVG for the last hour.

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 LLM token usage and latency?

To query MLflow trace metrics for LLM token usage and latency, use a script-based interface to fetch aggregated data from a configured MLflow tracking server. You retrieve total trace counts, input/output token sums, and latency summaries for specified experiment IDs.

What is the best way to monitor LLM cost and quality trends using MLflow?

Monitoring LLM cost and quality trends using MLflow involves fetching time-bucketed trace metrics. This process retrieves hourly or daily aggregated token usage and evaluator-based quality scores over a chosen time range to support operational reviews and track model drift.

Can I fetch aggregated LLM trace metrics for specific experiments without manual log analysis?

Yes, you can fetch aggregated LLM trace metrics for specific experiments without manual log analysis. This approach directly pulls trace counts, token usage, and latency summaries from your configured MLflow tracking server using specified experiment IDs.

How do I track LLM evaluator quality scores across runs in MLflow?

To track LLM evaluator quality scores across runs in MLflow, query the assessment and evaluator scores from your trace metrics. This fetches quality evaluation counts and scores to help you understand model quality drift across different runs over time.

Does querying MLflow metrics support time bucketing for performance troubleshooting?

Yes, querying MLflow metrics supports time bucketing for performance troubleshooting. You can produce hourly or daily bucketed results over a chosen time range to monitor usage patterns and identify latency or cost anomalies in your LLM systems.