FAQs and How-tos
How to track and bill for "high watermark" usage
5 min
overview this billing model is ideal for situations where you want to charge customers based on the maximum level of usage reached during a billing period, often referred to as the high watermark amberflo supports this use case using the max long lasting meter type how it works when a meter event is received, amberflo stores the reported value that value persists until a new value is received (and is greater than the previous one), or the timeout period expires, at which point the value resets to 0 during each billing interval, the customer is billed based on the maximum value observed example assumptions billing period monthly (1st to last day of the month) meter timeout 1 year initial usage begins on january 1st customer activity january 1 customer uploads a list with 1000 items march 15 customer uploads a new list with 500 items billing outcome january billed for 1000 items february billed for 1000 items march from march 1–14, the value is 1000 from march 15 onward, the value is 500 since 1000 is the highest value during march, customer is billed for 1000 items april billed for 500 items, as that is the persisted value from march 15 key points the high watermark is evaluated on a per billing period basis the timeout period determines when a meter value resets if no updates are received this approach avoids requiring customers to continuously send usage updates let me know if you'd like this formatted as part of a larger billing documentation or exported to markdown/html 📘 faqs and how tos docid\ bq14rede1rrwst00mbikx see related from metering and event ingestion how to measure a multi step process using a duration meter docid\ jejnqgjekdtlycfyxzsjj how to track seat based objects in amberflo docid\ k8g0vmh6adgukb3dmezay how to meter the number of active seats or users for a customer docid\ vyzt7z7cdkrhjyl avl68 how to understand dimensions in amberflo docid\ ai7gyga p lhj8fwzca f how to verify the accuracy of meter data docid\ ne5rit1fjkfpatdbiej s how to handle erroneous or incorrect meters sent to amberflo docid\ awzcv2cw6swss2ffmcl58 how to find the meter id for retrieving and deleting a specific meter docid\ ty1vub6lz6u3fo nbfgb6 how to delete meters that are no longer in use docid\ x x7d16c6dwqrz zfdyvk how to handle high volume, high cardinality event streams docid\ edxld02jcxuqp2dkmd3 b