in_alarm
state when the threshold is met. (See also the alert triggers for details of the alert evaluation process.)
in_alarm
if the customer’s credit or commit balance for the credit type reaches or goes below your set threshold. If multiple credits or commits exist for a customer, the alert sums up the remaining balances across all credits or commitments to compare against the threshold. This alert type is measured in real time as usage is sent to Metronome.
in_alarm
if the percentage of available credits on all active credits or commits for that credit type reaches or goes below your set threshold. This alert type is measured in real time as usage is sent to Metronome.
The low remaining percentage alert only takes into account active credits or commits. The alert calculation automatically excludes expired credits. Low credit balance alerts by default apply to the total credit balance on a customer.
in_alarm
if the customer’s usage-based spend prior to commit and credit drawdown for their current billing period reaches or goes above your set threshold. This alert evaluates against the sum of all usage-based charges for a particular customer, including usage drawdowns on credits and commits. This alert type is measured in real time as usage is sent to Metronome. Optionally, use the group_values
parameter with this alert type to evaluate only usage associated with a specific group key:group value pair.
ok
if you are using a custom pricing unit for a customer’s line items.To avoid this, configure spend alert thresholds to use the same pricing unit as the line items on a customer’s invoice.in_alarm
if the customer’s usage for their current billing period reaches or goes above your set threshold. The current billing period for a customer is calculated by taking the earliest start date and the latest end date across all active invoices. This alert type is measured in real time as usage is sent to Metronome.
evaluating
ok
OK
state for a customer with only $100 of spend.
in_alarm
in_alarm
as soon as the customer spends $200 or more.
ok
state for that customer and enqueue it to be re-evaluated as if customer metadata had changed.
in_alarm
, Metronome sends a webhook notification. See the webhooks documentation for requirements and best practices in setting up your webhook endpoint.
in_alarm
and you do not receive a notification, review the associated webhook endpoint configuration, and test a customer in sandbox to validate the notification process with another alertok
but you suspect that it should be in alarm, review the customer profile in the Metronome app for any recent changes (e.g., a new commit purchase)in_alarm
state. However, there are some instances in which some time may pass between a change of state in Metronome and the notification being sent: