---
updatedAt: 2026-06-02T21:51:38.000Z
agentTools:
  projectIndex: https://docs.getmontecarlo.com/llms.txt
---

# 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](https://docs.getmontecarlo.com/docs/table) with `total_row_count` for simple volume checks, or a [Metric Monitor](https://docs.getmontecarlo.com/docs/metric) with `ROW_COUNT_CHANGE` for custom thresholds.

```yaml
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`.

```bash
montecarlo monitors export-as-latest --namespace <your-namespace>
```