- Schema:
SNOWFLAKE_ APP_ RUNTIME_ COMPUTE_ HISTORY view¶
The SNOWFLAKE_APP_RUNTIME_COMPUTE_HISTORY view in the ACCOUNT_USAGE schema returns the hourly compute credit usage for Snowflake App Runtime in an account within the last 365 days (1 year).
All App Runtime apps in an account share Snowflake-managed compute, and the view reports credit usage at the account level. Per-app cost attribution isn’t available.
Columns¶
| Column Name | Data Type | Description |
|---|---|---|
| START_TIME | TIMESTAMP_LTZ | The date and beginning of the hour (in the local time zone) in which the usage took place. |
| END_TIME | TIMESTAMP_LTZ | The date and end of the hour (in the local time zone) in which the usage took place. |
| COMPUTE_POOL_NAME | VARCHAR | Name of the Snowflake-managed compute pool that served the usage. Currently always SNOWFLAKE_APP_RUNTIME_COMPUTE. |
| CREDITS_USED | NUMBER | Number of credits used by Snowflake App Runtime in the hour. |
Usage notes¶
- Latency for the view may be up to 180 minutes (3 hours).
- Credit usage reported here is also included in
METERING_HISTORY and
METERING_DAILY_HISTORY
under the
SNOWFLAKE_APP_RUNTIMEservice type.
Examples¶
Return daily Snowflake App Runtime credit usage for the last 30 days: