querying-mlflow-metrics

Fetch aggregated trace metrics from MLflow tracking servers.

1|1|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/Paldom/databricks-apps-streamlit-vibe-coding-starter --skill querying-mlflow-metrics-paldom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: querying-mlflow-metrics
Source: https://github.com/Paldom/databricks-apps-streamlit-vibe-coding-starter/tree/main/.agents/skills/querying-mlflow-metrics
Command: npx skills add https://github.com/Paldom/databricks-apps-streamlit-vibe-coding-starter --skill querying-mlflow-metrics-paldom

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 aggregate key performance metrics from MLflow tracking servers, enabling better understanding of model performance and resource utilization.

Core Features & Use Cases

  • Fetch Aggregated Metrics: Retrieve token usage, latency, trace counts, and quality evaluations.
  • Analyze Trends: Visualize hourly or daily trends for metrics like token consumption.
  • Group by Dimensions: Break down metrics by trace name, status, or assessment type.
  • Use Case: Monitor the token usage and latency of your deployed models to identify cost-saving opportunities or performance bottlenecks.

Quick Start

Fetch the sum and average of total tokens for experiment IDs 1 and 2 from the MLflow server at http://localhost:5000.

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

To query MLflow metrics for LLM token usage and latency, you can fetch aggregated trace metrics from an MLflow tracking server using functions like SUM and AVG, grouped by dimensions such as trace name or status.

Can I group MLflow trace metrics by trace name and status?

Yes, you can group MLflow trace metrics by trace name and trace status. This dimensional grouping allows you to break down token usage, latency counts, and quality evaluations for detailed performance diagnostics.

What aggregation functions are supported for analyzing MLflow metrics?

Supported aggregation functions for analyzing MLflow metrics include SUM, AVG, COUNT, and percentiles. These functions help calculate total token consumption, average latency, and trace counts from your tracking server data.

How do I monitor LLM costs and token consumption trends in MLflow?

You monitor LLM costs and token consumption trends in MLflow by fetching aggregated metrics and visualizing hourly or daily trends. This helps identify cost-saving opportunities and performance bottlenecks in deployed models.

Do I need a specific MLflow server setup to fetch quality evaluations and trace metrics?

You need a running MLflow tracking server accessible via its URL, such as localhost:5000, with existing experiment IDs. The Skill connects to this server to fetch quality evaluations, token usage, and latency trace metrics.