Snowflake
Example of using Snowflake as a data source. See examples/snowflake
directory for an example.
Configuration
- Set below environment variables in
.env
file.ANOMSTACK_GOOGLE_APPLICATION_CREDENTIALS
: Path to the Google Cloud Platform service account key file.
orANOMSTACK_SNOWFLAKE_ACCOUNT
: Snowflake account name.ANOMSTACK_SNOWFLAKE_USER
: Snowflake user name.ANOMSTACK_SNOWFLAKE_PASSWORD
: Snowflake password.ANOMSTACK_SNOWFLAKE_WAREHOUSE
: Snowflake warehouse name.
- Configure metric batch config yaml file params.
db: snowflake
: Setdb
param tosnowflake
.
- Ensure
table_key
is likedatabase.schema.table
.