Monitoring cost¶
You can monitor credit usage for compute costs, including those incurred by serverless features, using Budgets, and monitor and suspend warehouses using Resource Monitors.
Use budgets to monitor credit usage¶
A budget allows you to set a monthly spending limit and monitor the credit usage of all supported objects and serverless features in your account. In addition to your account budget, you can create custom budgets to monitor credit usage of groups of specified objects and the serverless features used by those objects. For example, you can create a custom budget for each department in your organization. Each budget sends an email notification to its notification recipients list if credit usage is expected to exceed its spending limit for the month.
Use resource monitors to monitor credit usage¶
A resource monitor allows you to monitor credit usage by user-managed virtual warehouses and the cloud services layer of the Snowflake architecture. You can set a spending limit that resets on a monthly basis or on a custom schedule. A resource monitor can send an email notification when your credit usage reaches a percentage (threshold) of the spending limit. You can customize up to five notification thresholds. To help avoid unexpected credit usage, you can optionally suspend a warehouse when its credit usage reaches a threshold.
For background information about how virtual warehouses and cloud services incur costs, see Understanding compute cost.
Next Topic