Usage Metering

Meter Definition

3min
there are 3 main parts to a meter definition these parts are detailed below to help assist you in creating the right meter for your needs labels label is the meter's name that will be displayed throughout the dashboard meterapiname is the technical label of the meter used by the backend processes this is also the identifier for event ingestion description allows you to leave a brief explanation of what the meter is this is viewable when looking at the meter definitions type of meters amberflo supports three types of meters count meters, continuous meters, and seat based meters each type serves a specific purpose and is tailored to handle event data in different ways count meters functionality count meters increment their value each time an event occurs and provide summary statistics when queried use cases monitoring total api calls tracking the number of transactions in a system measuring the total volume of error occurrences advantages simple to implement and use offers a clear overview of event totals over time provides flexibility in summarizing data with max, avg, and sum statistics continuous meters functionality continuous meters log the start and stop of an event, calculating the total duration or quantity of usage between these points use cases measuring application uptime tracking active session durations for users monitoring resource utilization, such as cpu or memory usage, over time advantages provides precise tracking of time based usage ideal for billing systems and resource management seat based meters functionality seat based meters keep track of the number of active users or instances at any given time, providing a way to measure compliance with seat based licensing agreements use cases monitoring software license utilization ensuring compliance with subscription based services tracking active user accounts in a system advantages simplifies compliance with licensing agreements provides visibility into resource allocation and usage supports capacity planning and cost optimization meter dimensions finally, meter dimensions is the last piece to meter definitions these dimensions may take a bit more thought into what should qualify as a dimension and be sent as additional information to a meter event more details on this can be found here