How to meter the number of active seats or users for a customer

To keep track of users added and removed, you can use the Running Total meter. You send a value of 1 when a user is added and a value of -1 when the user is removed. You can define a timeout period where the count is reset to 0 (such as the end of the billing period).

If you want to keep track of only active users, you could send an event each time a user logs on or takes some action in your application, then use the Unique Count meter (with username or other login info as unique-id) to track how many active users were seen during the billing period.


Return to FAQs

See related from Metering and Event Ingestion: