This guide describes how to connect Aporia to a BigQuery data source in order to monitor your ML Model in production.
We will assume that your model inputs, outputs and optionally delayed actuals can be queried with SQL. This data source may also be used to connect to your model's training set to be used as a baseline for model monitoring.
Create a materialization dataset for Aporia queries
Create a materialization dataset for Aporia to use to perform queries, see instructions here.
A separate materialization dataset location, to which query results will be written, must be designated for each project from which you want to query.
Update the Aporia Service Account for BigQuery access
In order to provide access to BigQuery, you'll need to update your Aporia service account with the necessary API permissions.
Step 1: Obtain your aporia service account
Use the same service account used for the Aporia deployment. If someone else on your team has deployed Aporia, please reach out to them to obtain it.