Skip to content

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 --quiet

Output:

  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: YES

omx reliability trace ​

Trace the full dependency chain for one metric.

bash
omx reliability trace --metric total_revenue
omx reliability trace --metric total_revenue --json

omx 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 60

Environment Variables ​

VariableDefaultDescription
OMX_API_URLhttps://api.onlymetrix.comAPI endpoint
OMX_API_KEY—API key (required)

MIT Licensed (SDK) | Proprietary (Server)