Installation
Requirements
- Python 3.11 or later
- A Snowflake account with
SELECTonSNOWFLAKE.ACCOUNT_USAGE(see Permissions)
Install via pip
Install via Docker
Install from source
git clone https://github.com/arunrajiah/frostwatch.git
cd frostwatch
pip install -e ".[dev]"
# Build the frontend (optional — only needed if developing the UI)
cd frontend && npm install && npm run build && cd ..
Try it without a Snowflake account
frostwatch demo seeds 35 days of realistic synthetic data — warehouse cost trends, dbt model breakdowns, anomaly spikes with AI explanations, pre-baked query rewrites, and a weekly digest — so you can explore the full UI immediately.
First-time setup (real Snowflake account)
Edit ~/.frostwatch/config.yaml and fill in your Snowflake credentials and LLM API key, then:
On first start FrostWatch will not have any data — click Sync Now in the sidebar to pull the last 30 days of query history from Snowflake.
Snowflake permissions
FrostWatch only needs read access to the ACCOUNT_USAGE schema. Create a dedicated role:
CREATE ROLE frostwatch;
GRANT IMPORTED PRIVILEGES ON DATABASE SNOWFLAKE TO ROLE frostwatch;
GRANT ROLE frostwatch TO USER my_service_user;
Then set snowflake_role: frostwatch in your config.
CLI reference
| Command | Description |
|---|---|
frostwatch demo |
Seed synthetic data and start server — no Snowflake account needed |
frostwatch serve |
Start the API server (default port 8000) |
frostwatch serve --reload |
Start with auto-reload for development |
frostwatch sync |
Run a one-off Snowflake data sync |
frostwatch config init |
Create default config file |
frostwatch config show |
Print current resolved config (secrets masked) |
frostwatch version |
Print installed version |