omx reliability
Check metric reliability, trace impact, and monitor data quality.
Commands
omx reliability check
Run all reliability checks. Shows which metrics are healthy, degraded, or unreliable.
bash
omx reliability check
omx reliability check --json # machine-readable output
omx reliability check --quiet # exit code only (CI mode)Output:
METRIC RELIABILITY STATUS
7 healthy 4 degraded 0 unreliable 11 total
Validation: 11 passing 3 failing 0 warning 22 tests
FAIL total_amount — Non-negative values
7,901 rows violating (17.6% of 44,876)Exit codes: 0 = all healthy, 1 = issues found.
omx reliability affected-by
Trace a source table to every metric that depends on it.
bash
omx reliability affected-by --table invoices
omx reliability affected-by --table invoices --json
omx reliability affected-by --table invoices --quietOutput:
Table: invoices
Affected metrics:
!! total_amount (base_table)
!! total_revenue (base_table)
!! revenue_by_country (base_table)
!! invoices_count (base_table)
!! avg_amount (base_table)
Safe to use: YESomx reliability trace
Trace the full dependency chain for one metric.
bash
omx reliability trace --metric total_revenue
omx reliability trace --metric total_revenue --jsonomx reliability watch
Poll until a metric becomes reliable. Useful for CI gates or monitoring.
bash
omx reliability watch --metric total_revenue
omx reliability watch --metric total_revenue --interval 60Environment Variables
| Variable | Default | Description |
|---|---|---|
OMX_API_URL | https://api.onlymetrix.com | API endpoint |
OMX_API_KEY | — | API key (required) |