Metrics
The editor includes a Metrics page for model call and workflow run usage. It is available from the main navigation.
Metrics are based on model call node executions. Each successful or failed model call writes a metric row that stores the workflow, node, connector, model, duration, token usage, cost, and failure details where available.
Each primary or fallback provider attempt writes its own model-call metric. Attempts from one node execution share a logical call ID and use increasing attempt numbers, starting at 1. The highest attempt number is the final attempt; attempt numbers greater than 1 are fallbacks. A recovered call therefore contributes one failed primary metric and one successful fallback metric. Model-call and workflow-run model-call counts describe provider attempts, while the workflow itself can still succeed after a recovered failure.
Failed attempts also store a normalized failure category and the raw HTTP provider status code when one was returned, such as 403, 429, or 503. Network failures and other errors that occur without an HTTP response have no provider status code.
The dashboard derives logical-call outcomes by grouping attempts with the same logical call ID. A logical call is recovered when an earlier attempt failed and a later fallback succeeded. A call is unrecovered when its highest-numbered attempt failed. Historical metrics without a logical call ID are treated as independent logical calls using their metric row ID.
Workflow run metrics are written when a run reaches a terminal status: success, failure, or suspended. These rows snapshot the workflow name/version, run status, duration, conversation turn details, failure details, and aggregated model call usage for the run. They intentionally do not use foreign keys to runs, workflows, or nodes, so metrics remain available after detailed run records are pruned.
Views
The page has a top-level switch:
- Model Calls shows the existing model-call dashboard.
- Workflow Runs shows run-level dashboard data using the same date range and bucket controls.
The Model Calls view has four tabs:
- All shows model call usage across every workflow, connector, and model.
- Workflows lists workflows and shows metrics for the selected workflow.
- Connectors lists connectors and shows metrics for the selected connector.
- Models lists models and shows metrics for the selected model.
Scoped tabs use the stored snapshot names from the metric rows, so older calls remain visible even if the original workflow, connector, model, or node has been renamed or deleted. Workflow, connector, and model selections match by snapshot name rather than internal ID, so selecting an old name after a rename shows only metrics captured under that old name.
The Workflow Runs view has three tabs:
- All shows workflow run health across every workflow.
- Workflows lists workflows and shows run metrics for the selected workflow.
- Errors lists failure groups and shows runs matching the selected error, including the failed node snapshot where available.
Charts And Tables
The Model Calls view shows:
- Provider attempts, logical calls, calls requiring fallback, recovered calls, unrecovered calls, and fallback recovery rate.
- Attempt failure rate separately from final logical-call failure rate.
- Attempts and recovery, cost, tokens, and duration over time. Attempt charts distinguish primary success/failure from fallback recovery/failure.
- Top workflows, connectors, models, or nodes depending on the selected tab, including primary-attempt, fallback-attempt, and successful-fallback counts.
- Failure groups by normalized category and HTTP status as well as detailed exception type and message.
- Recent and slowest logical calls. Each row can be expanded to inspect its ordered provider attempts, actual models/connectors, normalized failure category, HTTP status, duration, tokens, cost, and error.
The Workflow Runs view shows:
- Total runs, successful runs, failed runs, suspended runs, average duration, P95 duration, and failure rate.
- Runs over time split by success, failure, and suspended.
- Cost, tokens, and duration over time.
- Model usage totals for provider attempts, failed model attempts, tokens, and cost.
- Top workflows by run activity.
- Failure groups by error type, message, and failed node.
- Recent runs and slowest runs.
The page opens with the last 24 hours and hourly buckets so the initial dashboard query stays small. Date range presets include the last 24 hours, 7 days, 30 days, 90 days, 1 year, and all time, plus a custom range. Date range and time bucket controls apply to all tabs. Calls without pricing metadata are excluded from cost totals and are shown separately on the page.