0% found this document useful (0 votes)
18 views

Content CheatsheetSnowflake

This document provides a summary of Snowflake integration metrics that can be monitored using Datadog. It includes sections on storage metrics, logins, query metrics, and billing/credit usage. Key metrics include total storage bytes, total stage bytes, failed/successful login attempts, average bytes scanned/written/deleted by queries, and average hourly credit usage. The document lists the name of each metric as it appears in Snowflake and Datadog to help with mapping between the two platforms.

Uploaded by

moisendiaye
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Content CheatsheetSnowflake

This document provides a summary of Snowflake integration metrics that can be monitored using Datadog. It includes sections on storage metrics, logins, query metrics, and billing/credit usage. Key metrics include total storage bytes, total stage bytes, failed/successful login attempts, average bytes scanned/written/deleted by queries, and average hourly credit usage. The document lists the name of each metric as it appears in Snowflake and Datadog to help with mapping between the two platforms.

Uploaded by

moisendiaye
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Cheatsheet: Snowflake Integration

Section 2: Storage
Overall Storage: Snowflake view
METRIC NAME AS IT
DATADOG NAME SNOWFLAKE NAME DESCRIPTION
APPEARS ON DASHBOARD
The average number of bytes of table
snowflake.storage.storage_bytes.
Total storage bytes STORAGE_BYTES storage used including bytes for data
total
currently in Time Travel.

The average number of bytes of


Total stage bytes snowflake.storage.stage_bytes.total STAGE_BYTES stage storage used by files in all
internal stages.

snowflake.storage.failsafe_bytes. The average number of bytes of data


Total failsafe bytes FAILSAFE_BYTES
total in Fail-safe.

Disk Spilling: Snowflake view


Average bytes spilled to snowflake.query.bytes_spilled. BYTES_SPILLED_TO_ Avg volume of data spilled to
remote storage remote REMOTE_STORAGE remote disk.
Average bytes spilled to BYTES_SPILLED_TO_ Avg volume of data spilled to
snowflake.query.bytes_spilled.local
local storage LOCAL_STORAGE local disk.

Section 3: Logins
Logins: Snowflake view
*both the success and fail metric are gathered from the same Snowflake metric,
depending on its binary True or False outcome
METRIC NAME AS IT
DATADOG NAME SNOWFLAKE NAME DESCRIPTION
APPEARS ON DASHBOARD
snowflake.logins.fail.count
Login Attempts IS_SUCCESS = NO? Total failed/successful login attempts.
snowflake.logins.success.count

Section 4: Query
Query Metrics: Snowflake view
Specifically for Average queries executed, the view is different: Snowflake View
METRIC NAME AS IT
DATADOG NAME SNOWFLAKE NAME DESCRIPTION
APPEARS ON DASHBOARD

Section 1: Billing and Credit Usage Average Bytes Scanned


BYTES_SCANNED
QUERY_TYPE
Average credit usage per hour: Snowflake view *with query, database, snowflake.query.bytes_scanned WAREHOUSE_NAME Average query bytes scanned.
METRIC NAME AS IT schema, warehouse tags DATABASE_NAME
DATADOG NAME SNOWFLAKE NAME DESCRIPTION SCHEMA_NAME
APPEARS ON DASHBOARD
The average overall of credits Average bytes scanned snowflake.query.bytes_scanned BYTES_SCANNED Average query bytes scanned.
used per hour for the account. This
Overall credit snowflake.billing.total_credit.avg CREDITS_USED is the sum of snowflake.billing. Average bytes written snowflake.query.bytes_written BYTES_WRITTEN Average query bytes written.
cloud_service and snowflake.billing.
virtual_warehouses Average bytes deleted snowflake.query.bytes_deleted BYTES_DELETED Average query bytes deleted.

CREDITS_USED_ The average overall credits billed Average queries executed


Cloud service credits snowflake.billing.cloud_service.avg
CLOUD_SERVICES per hour for cloud services. (also referred to as
snowflake.query.executed AVG_RUNNING The average number of queries executed.
snowflake.billing.virtual_ CREDITS_USED_ The average overall credits billed ‘Query Execution’ in the
Virtual warehouse credits
warehouse.avg COMPUTE per hour for virtual warehouses. dashboard)
Average credit usage by warehouse: Snowflake view Compilation Time snowflake.query.compilation_time COMPILATION_TIME Average query compilation time.
*the following three metrics are tagged by Warehouse
Warehouse load: Snowflake view
snowflake.billing.warehouse. CREDITS_USED_ The average credits used per hour *the following three metrics are tagged by warehouse tag
Compute
virtual_warehouse.avg COMPUTE by warehouse.
Blocked by Average number of queries blocked by
snowflake.billing.warehouse.cloud_ CREDITS_USED_ The average credits used per hour for Snowflake.query.blocked AVG_BLOCKED
Cloud Services transaction lock a transaction lock.
service.avg CLOUD_SERVICES cloud services by warehouse.
Queued due to Average number of queries
The average total number of credits snowflake.query.queued_overload AVG_QUEUED_LOAD queued because the warehouse was
used per hour for the warehouse. warehouse overload
overloaded.
snowflake.billing.warehouse.total_ NOTE: This value does not take
Total CREDITS_USED
credit.avg into account adjustments which may Queued due to Average number of queries queued
AVG_QUEUED_
be higher than your actual credit snowflake.query.queued_provision because the warehouse was being
provisioning PROVISIONING
consumption. provisioned.

You might also like