Skip to content

METRICS

const METRICS: object

Defined in: src/core/metrics.ts:26

readonly REQUESTS: "vereda.requests" = "vereda.requests"

Total requests initiated. Tags: partition, method.

readonly RETRIES: "vereda.retries" = "vereda.retries"

Total retries executed. Tags: partition, kind.

readonly DURATION: "vereda.duration_ms" = "vereda.duration_ms"

Request duration in ms (histogram). Tags: partition (omitted when the URL never resolved), kind.

readonly QUEUE_DEPTH: "vereda.queue_depth" = "vereda.queue_depth"

Current queue depth per partition. Tags: partition.

readonly IN_FLIGHT: "vereda.in_flight" = "vereda.in_flight"

Current in-flight requests across all partitions.

readonly GLOBAL_QUEUE_DEPTH: "vereda.global_queue_depth" = "vereda.global_queue_depth"

Callers currently waiting for a global concurrency permit (the D1 cap).

readonly CIRCUIT_OPEN: "vereda.circuit_open" = "vereda.circuit_open"

Total circuit breaker trips to open. Tags: partition.

readonly RETRY_BUDGET_EXHAUSTED: "vereda.retry_budget_exhausted" = "vereda.retry_budget_exhausted"

Retries refused because the partition’s retry budget was spent. Tags: partition.