Installation & Usage

Getting Started

Installation steps, provider packaging workflow, and complete interface guide

#4.1 Prerequisites

  • A Snowflake account with the Native Apps Framework enabled.
  • A role with privileges to install applications (typically ACCOUNTADMIN, or a role delegated that responsibility).

#4.2 Installing as a Consumer

  1. Open Data ProductsApps in Snowsight.
  2. Locate Cost Monitor and click Get / Install.
  3. During the guided installation flow, review the requested privilege (IMPORTED PRIVILEGES ON SNOWFLAKE DB) and approve it.
  4. Open the app from Apps once installation completes.
Note

If the privilege was not granted during setup, the app displays a clear in-app prompt: navigate to the app’s Account Privileges page and click Grant next to the requested privilege, then Proceed to app.

#5. Using Cost Monitor

Control Effect
Time Range 7 days, 30 days, 90 days, or 12 months. Drives every trend chart and KPI.
Warehouse Single-select. Narrows warehouse-level metering to one warehouse.
User(s) Multi-select. Scopes the Users tab to one or more people; leave empty for everyone.
$ / Credit Your effective price per credit — used for every dollar estimate in the app.
$ / TB / Month Your effective storage rate — on-demand list price is roughly $23/TB/month.
Monthly Budget Used for the budget-utilization bar and the month-end overage alert.
Idle-Waste Alert Threshold The idle-% level (default 30%) above which the top alert banner fires.

#5.2 Reading the Alerts

The banner above the KPI row can show up to five alert types simultaneously:

  • High idle warehouse waste: compute credits spent on idle time rather than query execution.
  • Cloud services overage: days where billed Cloud Services exceeded the 10% free allowance.
  • Budget overage: projected month-end spend exceeds your configured budget.
  • Storage growth spike: storage grew more than 20% within the selected period.
  • Spend anomaly: a day’s spend exceeded 1.5× its own trailing 7-day average.

#5.3 Exporting Data

Every table and chart in Cost Monitor has an adjacent “Export” button that downloads the underlying data as CSV — useful for building your own reports or sharing a specific view outside the app.

#Appendix A — Native App Package File Structure

File Purpose
app.py The Streamlit application — all UI, queries, and business logic.
setup.sql Native App setup script: creates the application role, versioned schema, and Streamlit object.
manifest.yml Declares the app’s artifacts and the single requested privilege.
environment.yml Python package dependencies (streamlit, pandas, altair, numpy).
deploy.sql Provider-side script to stage files, create the application package, version it, and install it.
readme.md In-app readme shown to consumers during installation.