Monitoring and alerting parameters
Learn how to add monitoring and alerting information to your data operation configurations.
Example
{
"configuration_type": "table-to-table",
"configuration_id": "000001_append_some_data",
"short_description": "Append some data to a partitioned table",
"account": "000099",
"environment": "DEV",
"activated": true,
"archived": false,
"start_date": "2023, 1, 23",
"schedule_interval": "*/5 * * * *",
"max_active_runs": 1,
"task_concurrency": 3,
"default_gcp_project_id": "my-project",
"default_bq_dataset": "my_dataset",
"default_write_disposition": "WRITE_TRUNCATE",
"direct_execution": true,
"task_dependencies": [
"create_my_data_table >> merge_table_with_last_data"
],
"workflow": [
{
"task_type": "create_gbq_table",
"id": "create_my_data_table",
"short_description": "Create the destination table with partitioning on date and clustering",
"bq_table": "my_data",
"ddl_file": "my_data.json",
"force_delete": false
},
{
"task_type": "run_gbq_script",
"id": "merge_table_with_last_data",
"sql_file": "merge_table_with_last_data.sql"
}
],
"monitoring": {
"impact": 2,
"urgency": 2,
"alert_enabled": true,
"alert_status": ["FAILED","NO_MATCH"],
"alert_environment": ["PROD","DEV"],
"alert_info": "Put here information about the alert",
"alert": {
"email" : {
"email_from": "[email protected]",
"email_to": "[email protected];[email protected]",
"email_reply_to": "[email protected]",
"email_subject": "Data Operation Alert : @configuration_id has just failed",
"email_body_type": "txt",
"email_body": "Type : @configuration_type\nID : @configuration_id\nImpact : @impact\nEnvironnement : @environnement"
}
}
}
}🌐 Global monitoring parameters
Parameter
Description
⚠️ Alert parameters
📨 Email alert
Parameter
Description
🧩 Alert message variables
Variable
Description
Last updated