Skip to content

Latest commit

 

History

History

monte_carlo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Monte Carlo Connector

This connector extracts technical metadata from a Monte Carlo site using Monte Carlo API.

Setup

We recommend creating a dedicated API Key for the connector to use. Follow these instructions to create a new API key and secret.

Config File

Create a YAML config file based on the following template.

Required Configurations

api_key_id: <api_key_id>
api_key_secret: <api_key_token>
data_platform: <data_platform>  # SNOWFLAKE, BIGQUERY, REDSHIFT, etc.

Optional Configurations

Output Destination

See Output Config for more information.

Snowflake Account

If some of the monitored data assets are Snowflake datasets, please provide the Snowflake account as follows,

snowflake_account: <account_name>

Treat Unhandled Anomalies as Errors

If set to true, the connector will treat unhandled anomalies as data quality errors. Default is false.

treat_unhandled_anomalies_as_errors: true

Anomalies Lookback Days

By default the connector only retrieves anomalies from the last 30 days. You can change this by setting the anomalies_lookback_days field.

anomalies_lookback_days: 30

Testing

Follow the Installation instructions to install metaphor-connectors in your environment (or virtualenv). Make sure to include either all or monte_carlo extra.

Run the following command to test the connector locally:

metaphor monte_carlo <config_file>

Manually verify the output after the command finishes.