Volume (deprecated)

Deprecated. The volume YAML key still works but only accepts the current metric monitor schema. Use table or metric monitors instead.

Deprecated. The volume YAML key still exists but now expects the current metric monitor schema. The original volume-specific fields (volume_threshold, volume_type, growth_volume) are no longer accepted and will be rejected on apply.

What to use instead

Use a Table Monitor with total_row_count for simple volume checks, or a Metric Monitor with ROW_COUNT_CHANGE for custom thresholds.

montecarlo:
  table:
    - name: orders_volume
      description: Volume monitoring for analytics tables
      asset_selection:
        databases:
          - name: warehouse
            schemas:
              - analytics
      alert_conditions:
        - metric: total_row_count
      sensitivity: medium
      domains:
        - my-domain

Migration steps

  1. Export existing volume monitors in the latest format.
  2. Replace volume definitions with the exported table or metric definitions.
  3. Apply with montecarlo monitors apply.
montecarlo monitors export-as-latest --namespace <your-namespace>