Skip to main content
Glama

dag_analytics

Analyze DAG performance trends, success rates, duration statistics, and failure patterns to assess reliability and identify operational issues.

Instructions

Get run statistics and trend analysis for a specific DAG.

Use this when the user asks about DAG reliability, performance trends, statistics, or historical patterns — "how's digital taxonomy been running?", "is this DAG stable?", "show me stats for HEM processing".

Unlike list_dag_runs (flat list of individual runs), this tool provides:

  • Success rate and failure rate over the time period

  • Duration stats: average, min, max, and trend direction

  • Failure pattern detection (e.g. "fails on Mondays")

  • Recent run streak (visual ✅/❌ sequence)

  • Day-by-day breakdown

Args: dag_id: The DAG identifier to analyse. env: Target environment — 'dev', 'uat', 'test', or 'prod'. IMPORTANT: Do NOT guess or default. Ask the user which environment if not specified. days: Number of days to look back (default: 14, max: 180).

Returns a formatted analytics report with trends and patterns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYes
envNo
daysNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SrujanReddyKallu2024/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server