Comparison (deprecated)
Blocked — creation disabled. Use metric_comparison instead.
Blocked — creation permanently disabled. The
comparisonYAML key is recognized by the CLI but creation is blocked with:"Creating legacy comparison monitors is no longer supported. Use the v2 metric_comparison monitor instead."
What to use instead
Use metric_comparison for all comparison monitors. It provides a cleaner source/target structure with explicit SQL and warehouse configuration.
montecarlo:
metric_comparison:
- name: orders_source_target
description: Compare order counts between warehouses
source:
sql: SELECT COUNT(*) FROM analytics.orders
warehouse: warehouse_a
target:
sql: SELECT COUNT(*) FROM analytics.orders
warehouse: warehouse_b
alert_conditions:
- type: comparison_delta
metric: ROW_COUNT
operator: GT
threshold_value: 10
schedule:
type: fixed
interval_minutes: 720
domains:
- my-domainMigration steps
- Identify existing
comparisonmonitors in your YAML files. - Rewrite each as
metric_comparisonusing the source/target structure above. - Apply with
montecarlo monitors apply.
Updated about 5 hours ago
