Skip to main content
The OpenWorkflow dashboard exposes a GET /metrics endpoint that serves workflow run counts in Prometheus exposition format. Use it to track failures, detect stuck backlogs, and alert on throughput drops — with no extra services to deploy.

Setup

1. Start the dashboard

2. Verify the endpoint

You should see output like:

3. Configure Prometheus to scrape the dashboard

Add a scrape target to your prometheus.yml:
Replace localhost:3000 with the address where your dashboard is running.

Metrics reference

openworkflow_workflow_runs

Current count of workflow runs in each status. One query is executed per scrape — there is no caching.
  • Active statuses (pending, running) — Is work piling up? Are runs stuck?
  • Terminal statuses (completed, failed, canceled) — Are failures increasing? Is throughput steady?
Legacy sleeping runs are folded into the running metric label.

Alert examples

Failures detected in the last 5 minutes

Failure rate elevated over the last hour

Pending backlog is growing

No completed runs in the last hour