Skip to main content

Overview

Usage Stat renders a single large number for a usage module: either how many events it has recorded, or the total of their quantities. Placed on a record page it scopes to that record, so a customer’s page shows their own consumption.

Configuration

The caption under the number follows the aggregation: Total Events for Count, Total Quantity for Sum.
Record Role is what makes the block record-aware. With it empty, the same module-wide total shows on every record.

Use cases

  • Seats used on a Subscription record, Sum, customer role.
  • API calls this period on an Account, Count, customer role.
  • A module-wide total on a billing dashboard, with no role set.

Troubleshooting

See also