
Snowflake resource monitors track credit usage by virtual warehouses and can notify administrators or suspend warehouses when a credit limit is reached.
An account monitor tracks warehouse and supporting Cloud Services credit usage for the account. An account can have one account monitor. Warehouse monitors track one or more assigned warehouses, and an account can have multiple warehouse monitors.
A warehouse can be assigned to one warehouse monitor. A resource monitor can be configured with a credit quota, a schedule or date range, notification thresholds, and an action when a threshold is reached.
Resource monitors track warehouse-related consumption. They do not track serverless features and AI services. Budgets are used for those services and for broader account-level spending views.
Monitor limits use all Cloud Services consumption when determining whether a limit has been reached, even when the daily Cloud Services adjustment means some of that usage is not billed.
CREATE RESOURCE MONITOR monthly_limit
WITH CREDIT_QUOTA = 1000
FREQUENCY = MONTHLY
START_TIMESTAMP = IMMEDIATELY
TRIGGERS ON 80 PERCENT DO NOTIFY
ON 100 PERCENT DO SUSPEND;
Only users with the ACCOUNTADMIN role can create resource monitors unless the required privileges have been granted. Snowflake documents resource monitors.