metacore Start a pilot

Developers · Reference

Every amount is exact. No call waits for a meter.

The platform meters everything that your org does and holds, as the work happens. Each amount names its environment, its domain and its app, so you know who uses what. A meter only measures: it refuses nothing, and it sets no price.

Meters, kept in phases

By default your org keeps its amounts by the minute for 24 hours, then by 5 minutes for 30 days, then by the day for 400 days.

Meters

Know who uses what, down to one app.

A meter is an amount in one unit: a count, bytes, milliseconds, the fuel of a module, or an amount held over time. Each amount names its environment, its domain, its app and its cell.

Meters ofWhat they count
CallsThose served and those refused, by service and by app, with the time of each.
TrafficThe bytes of calls, uploads, notifications and files, in and out.
OutboundThe calls to your atoms, the requests to third parties, the telemetry sent to your collectors, and mail.
WorkRuns, jobs, stages of workflows, events, searches, copies and exports.
ModulesEach call of a module: its time, its memory and its fuel.
HoldingsRecords and their bytes, files, kept releases and entries of the audit trail.

What the meters count

A holding has its value, and its amount over time: exact, from each change at its instant.

An amount namesSo you read
Its environmentWhat one environment uses, apart from the others.
Its domainWhat one domain does, and what it holds.
Its appWhat each app calls. What an AI agent does counts under its app.
PeopleWhat a person does counts under people, in place of an app.
Its cellWhere the work happened. A move changes no amount, and never counts a holding twice.

What an amount names

A meter holds no value, no key and no secret. No amount names a person.

Exact

Counted with the work. Read 30 seconds later.

The platform sums what it measures in memory, and no call waits for a meter. An amount is read about 30 seconds after its work, and 40 seconds after at most.

An amountWhy it is exact
With the workA count is written in the same step as the work it counts, so it never drifts from it.
OnceA batch of amounts is written once, however often it is sent.
LateAn amount that comes late lands at its instant, and corrects each phase that still holds it.
GapsA read marks each step that may miss amounts.
KeptWhat the meter wrote is never lost.

Exact amounts, not estimates

Each cell sends what it measured to the region, and keeps each amount until the region holds it.

A meter neverBecause
Slows a callNo call waits for a meter.
Refuses a callA meter only measures. It refuses nothing: the limits of your org are its quotas.
Sets a priceNo part is priced by use.
Reads your dataA meter holds no value, no key and no secret.
Grows with the fleetThe rows of an org grow with what it uses, never with the instances that measure it.

What a meter never does

A bill changes only with what you decide, never with a number that your org reached.

Phases

By the minute today. By the day for 400 days.

Your org keeps its amounts in phases. A phase is a step of time and a duration, such as 1 minute for 24 hours. The first phase holds the latest amounts, and each next one the time before.

By defaultA point everyFor
First phase1 minute24 hours
Second phase5 minutes30 days
Third phase1 day400 days

The default phases

Each step is a multiple of the step before it, and divides a day. Nothing stays after the last phase.

A phaseWhat holds
Adds upA next phase is exact: sums add up, a peak is the highest of the peaks, and what is held at the end of a step is its last value.
Finest firstA read takes each stretch of time from the finest phase that still holds it.
By dayThe stats of your org are its meters by day in UTC. By default they reach back 400 days.
What is removedThe meters of a removed environment or domain stay. The deletion of your org removes its meters.

What a phase keeps

Each phase is kept in parts by time, and old parts go whole: keeping them costs the same at any volume.

Read

Read a span. Split it. Follow it as it grows.

Each cell sends what it measured to the region, so you read your meters in one place. The CLI, the public API and the back office read the same amounts.

A readWhat it gives
A spanThe points of the meters over a span of time: of the whole org, of one environment or of one domain.
A stepPoints by the step that you choose, such as 5 minutes or 1 hour.
A splitThe parts of an amount kept apart: environment, domain, caller and cell. The others are added up.
A feedThe amounts as they are written: each once, in order and with no gap.
A mirrorA reader that resumes where it stopped mirrors the meters of your org as they grow.

How a read works

metacore meters list --meter calls-read --from 2h --split domain,party reads the calls of two hours, by domain and by caller. metacore meters feed follows the amounts.

WhoReads
An ownerThe meters of the whole org.
An admin or an auditorThose of one environment.
An appThose of an environment where it holds the role. Never those of the whole org.
Everyone in your orgIts metering: whether it is on, its phases, and where they come from.
Whoever runs the regionThe meters of every org and of every cell. Never a schema or a record.

Who reads the meters

Whoever runs a region ranks its orgs by one meter over a span of time, such as the bytes they hold or the calls refused.

Control

On by default. Set by whoever runs the region.

Metering is a setting of each org, as a quota is: its own comes first, then that of its preset, then the default of the region.

ModelWho sets the metering
ManagedWe do, for each org of the region.
OperatedWe do, for your region.
HybridWe do, for the region. Your cells measure, and send their amounts to it.
Self-hostedYou do: on or off, and the phases of each org and of each preset.

Who sets the metering

A solid mark is ours. A dashed mark is yours. In a region that you run, its configuration sets the default too.

A changeWhat it does
Other phasesOne org takes phases of its own, such as 5 seconds for 1 hour first.
A presetA preset of quotas may set the metering too: on or off, and the phases.
OffAn org with metering off keeps no new amount. Its phases stay for when it is turned on again.
Within a minuteA change holds within a minute, and never rewrites what is kept.
RecordedThe audit trail of your org records each change of its metering.

How the metering changes

metacore org metering get prints the metering of your org, the default of the region and its limits.

See also

Build your domain.

Declare its schema, and take it to production, self-hosted or in a managed region.

Briefing