Skip to main content

Snowflake

Causely provides native integration with Snowflake.

Step 1: Create a user

Create a user for your Snowflake account.

Step 2: Create a Kubernetes Secret for the user

After creating the user create a Kubernetes Secret:

kubectl create secret generic --namespace causely snowflake-credentials \
--from-literal=username="..." \
--from-literal=password='...' \
--from-literal=account="xxxxxx-yyyyyy" \
--from-literal=warehouse="..."

Step 3: Update Causely Configuration

Once the Secret is created, update the Causely configuration to enable scraping for the new database. Below is an example configuration:

scrapers:
snowflake:
enabled: true
instances:
- secretName: snowflake-credentials
namespace: causely

Alternative: Enable Credentials Autodiscovery

Causely also supports credentials autodiscovery. This feature allows you to add new scraping targets without updating the Causely configuration. Simply label the Kubernetes Secret to enable autodiscovery for the corresponding scraper.

Example: Labeling Secrets for Autodiscovery

kubectl --namespace causely label snowflake-credentials "causely.ai/scraper=Snowflake"

With these steps, you can seamlessly integrate Causely with Snowflake and configure it to monitor your desired resources.