Workflow Metrics
Per-workflow and aggregate performance analytics — success rates, execution duration percentiles, error breakdown, trigger volume, and SLA compliance.
The Workflow Metrics page at /workflows/metrics shows aggregate analytics across all workflows. Per-workflow metrics are available in the Analytics tab on each workflow detail page.
Aggregate Metrics
The workspace-level metrics dashboard shows:
- •Total executions over the selected time range (last 24h / 7d / 30d / 90d / custom).
- •Success rate — percentage of runs ending in
completed. - •Error rate — percentage ending in
failed. - •Execution volume chart — runs per hour/day stacked by status.
- •Top 10 by error rate — workflows with highest failure percentage.
- •Top 10 by volume — most frequently triggered workflows.
- •Trigger type distribution — breakdown of record_event / webhook / schedule / manual.
Per-Workflow Metrics
On any workflow detail page → Analytics tab:
| Metric | Description |
|---|---|
| Total runs | Count of all executions in the window. |
| Completed | Runs ending in completed. |
| Failed | Runs ending in failed. |
| Cancelled | Runs cancelled before completion. |
| Success rate | completed / (total - cancelled) × 100%. |
| p50 duration | Median execution time in ms. |
| p95 duration | 95th percentile execution time. |
| p99 duration | 99th percentile execution time. |
| Max duration | Slowest single run. |
| Avg queue time | Time spent in queued state before execution started. |
| Retry rate | % of runs that were retried at least once. |
| Error breakdown | Pie chart of error types and failed node IDs. |
| Node execution heatmap | How often each node executes and its average duration. |
Node Execution Heatmap
The heatmap overlays the workflow canvas with color-coded statistics per node:
- •Green → Red gradient: frequency of execution (green = rarely executed, red = always executed).
- •Error overlay: toggle to show error rate per node instead of frequency.
- •Duration overlay: toggle to show average execution time per node — identifies bottlenecks.
- •Click any node in heatmap mode to see its execution history, error breakdown, and average input/output size.
SLA Compliance Tracking
For workflows that implement SLA-sensitive processes (incident resolution workflows, catalog fulfillment workflows), the Analytics tab shows:
- •SLA compliance rate over time (% of runs completing within the configured target duration).
- •Runs that exceeded the SLA threshold, with links to the individual execution records.
- •Trend line showing whether compliance is improving or degrading.
Configure the SLA target in the workflow metadata: Workflow Settings → SLA Target (ms).
Metric Alerts
Set alerts on workflow metrics at Workflow → Analytics → Add Alert:
{
"metric": "error_rate",
"condition": "gt",
"threshold": 5, // %
"window": "1h",
"notify": {
"channel": "slack",
"to": "platform-engineering",
"template": "workflow-error-alert"
}
}Metrics API
/api/workflows/metricsAggregate metrics across all workflows (totals, top failing workflows/nodes, workspace breakdown, 7-day daily trend).
/api/workflows/:id/metricsPer-workflow metrics over its last 200 executions.
/api/workflows/metrics/by-workflowExecution counts, success/error rate, and avg duration grouped by workflow.
/api/workflows/metrics/slow-nodesSlowest node types by average duration, across workflows.
/api/workflows/metrics/error-hotspotsNode types with the most errors, across workflows.
/api/workflows/metrics/volume-trendExecution volume and success/failure counts over time (hour or day granularity).
# Example: per-workflow metrics (based on its last 200 executions)
GET /api/workflows/wf_01HX.../metrics
# Example: workspace-wide volume trend for the last 7 days
GET /api/workflows/metrics/volume-trend
?from=2026-05-25&to=2026-06-01
&granularity=day