[ Web Proxy ]
URL:
Viewing: https://openworkflow.dev/docs/prometheus [Back]  [Original]

Prometheus Metrics - OpenWorkflow
Skip to main content
Navigation
Guides
Prometheus Metrics
Guides

Prometheus Metrics

Monitor workflow health with Prometheus

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 without deploying another service.

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

Production
PostgreSQL Backend

Web Proxy Viewer  |  New URL  |  Original Page