Get metrics time series
const url = 'https://app.everruns.com/api/v1/durable/metrics/timeseries';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.everruns.com/api/v1/durable/metrics/timeseriesResponses
Section titled “ Responses ”Metrics time series
Metrics time series response.
In multi-instance deployments, each instance maintains its own metrics
ring buffer. The instance_count field indicates how many instances
are expected so consumers can aggregate or label appropriately.
object
Number of expected control-plane instances (from EXPECTED_INSTANCES env). When >1, these metrics represent only this instance’s view.
Single metrics data point
object
Number of workers actively heartbeating (gauge).
Number of tasks currently claimed by a worker (gauge).
Size of the dead-letter queue (gauge).
Aggregate worker load as a percentage of total max_concurrency (0.0-100.0).
Number of tasks waiting to be claimed by a worker (gauge).
Number of workflows waiting to be claimed by a worker (gauge).
Number of workflows currently executing (gauge).
Cumulative count of tasks completed successfully since process start (monotonic counter).
Cumulative count of tasks that failed or were sent to the DLQ (monotonic counter).
Cumulative count of tasks claimed at least once (monotonic counter).
Sampling timestamp for this data point (RFC 3339).
Cumulative count of workflows that completed successfully (monotonic counter).
Cumulative count of workflows that ended in failure (monotonic counter).
Cumulative count of workflows that started (monotonic counter).
Example generated
{ "instance_count": 1, "points": [ { "active_workers": 1, "claimed_tasks": 1, "dlq_size": 1, "load_percentage": 1, "pending_tasks": 1, "pending_workflows": 1, "running_workflows": 1, "tasks_completed_total": 1, "tasks_failed_total": 1, "tasks_started_total": 1, "timestamp": "2026-04-15T12:00:00Z", "workflows_completed_total": 1, "workflows_failed_total": 1, "workflows_started_total": 1 } ], "resolution_seconds": 1}