a month ago
Ability to set the usage of metered entitlements
We've extended our API and SDKs and now support 2 methods for reporting the usage of metered features:
1. Reporting of the usage change (delta) - for example: +A when A seats are provisioned, and -B when B seats are de-provisioned.
2. Setting the usage value - for example: C where C is the current seat count. This new reporting method is useful when the entitlement usage is calculated or aggregated by another data source.
To set the usage value, pass the
updateBehavior.set property when reporting measurements.
Setting the calculated usage value is supported in the Stigg Node.js SDK v1.13.0 and Stigg Python SDK v0.5.0 or later.
More details can be found here.