When implementing a usage-based plan for your customers on Salesbricks, you have the flexibility to charge based on two distinct types of usage data: Gauges and Counters, referred to as Final value and Prorated in the admin interface.

Counter / Final value

With final value measurement, tally up all billable events over a set time period. This approach is suitable for measuring cumulative usage, such as the total number of API calls in a month.

Example

Calculation is sum(billable events) * unit price = total.

In the illustrated graph,

(6+4+8+5+3)$2=$52(6 + 4 + 8 + 5 + 3) * \$2 = \$52

Use cases

Gauges / Prorated

With prorated measurement, tally up billable events per time unit over a set period. This method is ideal for tracking usage over time, such as virtual machine hours used in a month.

Example

Calculation is ((billable events * time unit (days), ...) * unit price = total.

In the illustrated graph,

((36)+(48)+(86)+(53))$2=$226((3 * 6) + (4 * 8) + (8 * 6) + (5 * 3)) * \$2 = \$226

Use cases

Simple API Calls

Regardless of your chosen pricing strategy, integrating usage data with Salesbricks requires just one simple API call: