Observability

Time-bucketed rollups from durable tables

Volume, denials and latency over a window. Sourced from durable tables, never from in-process counters: an in-memory histogram is per-replica and resets on deploy, so a 24h chart drawn from one disagrees between instances and is wrong after every release.

Every bucket in the range is returned, including empty ones. A quiet hour is a zero, not a missing point — a line chart given a hole joins across it as though nothing happened.

step may be widened from what was requested when the window would otherwise produce more than 500 buckets. The response echoes the window and step actually used, so a chart can label its own resolution rather than the one it asked for.

get/v1/otel/metrics

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/otel/metrics
  • Auth: HTTP bearer

Query parameters

windowstring

Lookback, e.g. 30m, 24h, 7d. Default 24h, maximum 30d.

stepstring

Bucket width. Defaults to a twenty-fourth of the window, minimum 60s.

Response

Bucketed metrics

latency_p50_msnumber nullable

Null when nothing in the window recorded a duration.

latency_p95_msnumber nullable
total_executionsinteger required
total_denialsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.