
- Visibility to customer’s current usage
- Access enforcement according to the defining pricing model
- Billing according to reported usage
- Customer notifications about changes to their usage, for example: limit is about to be exceeded
- Notifications to internal stakeholders (i.e. sales and CS reps) about changes to customer usage
- Triggering of additional actions in applications that are integrated with Stigg
Supported usage sources
Stigg supports metering of usage from the following data sources:- Calculated usage - usage that has been aggregated and calculated by your application. This type is useful for features, such as: seats.
- Raw events - raw events from your application, which Stigg filters and aggregates aggregate to calculate customer usage. This type is useful for features, such as: monthly active users (MAUs).
Idempotency
Both raw events and calculated usage support idempotent reporting: you provide anidempotencyKey with each report, and Stigg deduplicates any retries so usage isn’t double-counted. This makes it safe to retry a request after a timeout, a dropped connection, or any other ambiguous failure, without risking inflated usage or incorrect billing.
The exact behavior differs slightly by data source:
- Raw events -
idempotencyKeyis required on every event. - Calculated usage -
idempotencyKeyis optional, and duplicates are deduplicated for 7 days.
