Selling

Meters

Create usage meters that count what a usage-based product bills for, and read their usage.

A meter counts something your product does that you bill for: API calls, minutes rendered, seats in use. Your backend sends an event each time it happens, the meter adds the events up, and an offer bills the total.

Open Catalog → Meters in the dashboard.

The meter list

Each row shows the meter's name, the event name it counts, its aggregation, its usage this period, what bills by it, its last event and its status. Manage table chooses which columns are shown. Open a row to see the meter's usage, its events and the customers it bills.

Create a meter

Click Create meter and fill in:

FieldWhat it does
Meter NameThe meter's name.
DescriptionOptional.
Event NameMatched exactly against the name each event is sent with.
Aggregation TypeHow events add up: Count (the number of events), Sum, Max (the largest value) or Last (the latest value).
Over PropertyThe event property that Sum, Max and Last read. Required for those three.
Measurement UnitThe unit the usage is shown in.
Enable Event FilteringCount only events whose properties match conditions you set. Conditions can be grouped and joined with AND or OR.

The dashboard has no control to edit a meter. Through the API, a meter can be changed until it receives its first event; after that, its event name and aggregation type are fixed.

A meter's page

A meter's page has three views:

  • Overview: units and events for the current month and for all time, and a chart of units per day over the newest 400 days.
  • Events: the events the meter received.
  • Customers: the customers it bills.

The list itself has two views, Current and Archived.

Bill a meter

When you add a product, choose Usage based as the pricing type. Its offer then takes Associated meters: up to 50, each added once. Each period charges the fixed price plus, for each meter, the usage above the free threshold × price per unit. An offer whose fixed price is 0 needs at least one meter.

Last updated