Flares Developer Docs

Usage metering

Every metered dimension, how each is counted, and where to watch them.

Server-derived, always

Every number on the Usage screen is counted by the service doing the work. A client claiming "that was five reads" is a wish; billing from wishes is how platforms end up defrauded or accusing their customers. Nothing a client sends can move a meter.

Usage: every metered dimension, daily and for the month.
Usage: every metered dimension, daily and for the month.

The dimensions

DimensionKindCounted when
api_requestscounterAny Basket/Auth API request completes.
reads / writes / deletescounterRecords are read, written, deleted.
realtime_messagescounterA change event is delivered to a subscriber.
realtime_peak_connectionsgaugeHigh-water mark of concurrent connections.
function_requestscounterAn invocation is dispatched to your function — the Functions billing unit.
egress_bytescounterResponse bytes leave the API.
storage_bytesgaugeMeasured from the database itself.
backup_bytesgaugeMeasured from stored backups.

Counters accumulate over the billing period; gauges are levels and are billed at the period's peak — storage is not charged twice for existing two days.

Function duration and memory are measured operationally (you see them in logs and metrics) but are deliberately not usage dimensions: no plan can price them.