본문으로 건너뛰기

OntologyHealthResponse

Ontology consistency status for the complete set of ontology query surfaces, with resynchronization, orphan cleanup, and schema-drift details.

statusStatus (string)필수

Mirror health status

Possible values: [ok, degraded]

marker object

Degraded marker body when status=degraded

하나 이상(anyOf)
statusStatus (string)
상수 값: degraded
기본값: degraded
sinkSink (string)필수
slotSlot (string)필수
reasonReason (string)필수
confirmed_flush_lsn object
하나 이상(anyOf)
string
invalidated_atInvalidated At (integer)필수
resync object필수

Resync flow run state

activeActive (boolean)필수

True when a resync flow run is in flight

run_id object

Run id of the active run

하나 이상(anyOf)
string
state object

Run state of the active run

하나 이상(anyOf)
string
orphans object

Orphan-table detection marker; null when none

하나 이상(anyOf)
statusStatus (string)
기본값: orphans_detected
countCount (integer)필수
detected_atDetected At (integer)필수

Unix time in milliseconds when orphaned resources were detected.

orphans object[]필수
  • Array [
  • schema_nameSchema Name (string)필수
    table_nameTable Name (string)필수
    first_seenFirst Seen (integer)필수
  • ]
  • orphan_cleanup object

    Orphan cleanup flow run state

    activeActive (boolean)필수

    True when a cleanup flow run is in flight

    run_id object

    Run id of the active run

    하나 이상(anyOf)
    string
    state object

    Run state of the active run

    하나 이상(anyOf)
    string
    schema_drift object

    Detected schema drift, or null when none exists. Remediation requires recreation or a manual migration.

    하나 이상(anyOf)
    statusStatus (string)
    기본값: schema_drift_detected
    countCount (integer)필수
    detected_atDetected At (integer)필수

    Unix time in milliseconds when schema drift was detected.

    drifts object[]필수
  • Array [
  • resource_idResource Id (string)필수
    schema_nameSchema Name (string)필수
    table_nameTable Name (string)필수
    missing_columnsstring[]
    기본값: []
    type_mismatchesstring[]
    기본값: []
    first_seenFirst Seen (integer)필수
  • ]
  • OntologyHealthResponse
    {
    "status": "ok",
    "marker": {
    "status": "degraded",
    "sink": "string",
    "slot": "string",
    "reason": "string",
    "confirmed_flush_lsn": "string",
    "invalidated_at": 0
    },
    "resync": {
    "active": true,
    "run_id": "string",
    "state": "string"
    },
    "orphans": {
    "status": "orphans_detected",
    "count": 0,
    "detected_at": 0,
    "orphans": [
    {
    "schema_name": "string",
    "table_name": "string",
    "first_seen": 0
    }
    ]
    },
    "orphan_cleanup": {
    "active": true,
    "run_id": "string",
    "state": "string"
    },
    "schema_drift": {
    "status": "schema_drift_detected",
    "count": 0,
    "detected_at": 0,
    "drifts": [
    {
    "resource_id": "string",
    "schema_name": "string",
    "table_name": "string",
    "missing_columns": [
    "string"
    ],
    "type_mismatches": [
    "string"
    ],
    "first_seen": 0
    }
    ]
    }
    }