Last updated
Last updated
Revenium periodically introspects a view created over Snowflake's table to infer query telemetry used for monetization, analytics and reporting.
A Data Warehouse provides the necessary configuration for Revenium to poll external data sources like Snowflake to convert usage history into a format that allows for granular metering and advanced monetization models. To configure a Data Warehouse follow these steps:
Search for Integrations in the search bar -> choose data warehouse -> add new
Provide the configuration options:
Click "Next" and define the details for the Data Warehouse to be monetized:
Click "Next". While you shouldn't need to do this unless otherwise instructed by the Revenium Team, you can edit the Schema Creation SQL and Billing Query SQL in this screen:
Navigate to Sources -> Add New and create a Subscriber Data Source. Columns that are to be tracked or monetized should be comma separated in the "Resource" field.
In the image above, Snowflake resources can be defined using either "COLUMN" or "TABLE:COLUMN" syntax. For example "SYMBOL" will meter any query that includes the SYMBOL column in its query. "MARKET_DATA:SYMBOL" will constrain metering only to the "SYMBOL" column in the "MARKET_DATA" table.
Next click on the "Custom Metadata" of the Source and set the "External Source ID" field to match the corresponding Snowflake warehouse:
All Snowflake sources must share the same warehouse when grouped as a Product.
The Schema Creation SQL created the view over Snowflake's table that is queried periodically with the Billing Query SQL. The Billing Query SQL results are converted into that are used for metering, analytics and reporting.
A , in the context of Snowflake, defines the columns of a table to be monetized. Defining columns and tables as sources allows you to create more complex monetization models, i.e. charging differently based on which columns and tables are accessed.
Snowflake Sources are interchangeable with other Source types, including APIs. This allows you to build sophisticated digital products that include a combination of API access and Snowflake access if desired. You can read more about & creation in the relevant documentation sections.
Revenium enables the metering of SQL queries to enable the granular monetization and analytics of data contained in Snowflake data warehouses.
hostname
The Snowflake URL
username
The username
password
The password
database
The database to create the billing view over
warehouse
The warehouse name