databricks-cli/bundle/tests/quality_monitor/databricks.yml

48 lines
1.2 KiB
YAML
Raw Permalink Normal View History

bundle:
name: quality_monitors
resources:
quality_monitors:
my_monitor:
table_name: "main.test.dev"
assets_dir: "/Shared/provider-test/databricks_monitoring/main.test.thing1"
output_schema_name: "main.dev"
inference_log:
granularities: ["1 day"]
timestamp_col: "timestamp"
prediction_col: "prediction"
model_id_col: "model_id"
problem_type: "PROBLEM_TYPE_REGRESSION"
schedule:
quartz_cron_expression: "0 0 12 * * ?" # every day at noon
timezone_id: UTC
targets:
development:
mode: development
default: true
resources:
quality_monitors:
my_monitor:
table_name: "main.test.dev"
staging:
resources:
quality_monitors:
my_monitor:
table_name: "main.test.staging"
output_schema_name: "main.staging"
production:
resources:
quality_monitors:
my_monitor:
table_name: "main.test.prod"
output_schema_name: "main.prod"
inference_log:
granularities: ["1 hour"]
timestamp_col: "timestamp_prod"
prediction_col: "prediction_prod"
model_id_col: "model_id_prod"
problem_type: "PROBLEM_TYPE_REGRESSION"