본문으로 건너뛰기

OntologyHealthResponse

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

statusStatus (string)필수

Ontology health status — degraded when either mirror is degraded or any sinkers entry reports a state other than ok

Possible values: [ok, degraded]

marker object

Delta mirror degraded marker; null when the Delta mirror is healthy. Kept under this name for the clients that already read it

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

Degraded-state marker for the graph store copy, or null when it is healthy.

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

Resync worker run state

activeActive (boolean)필수

True when a resync worker run is in flight

run_id object

Run id of the last run

하나 이상(anyOf)
string
state object

Run state of the last run (running / completed / failed)

하나 이상(anyOf)
string
description object

Failure cause of the last run; null when it succeeded, is still in flight, or the caller is not admin/manager (the text is an exception verbatim, so it is redacted for everyone who cannot act on it)

하나 이상(anyOf)
string
start_time object

Unix ms the last run started

하나 이상(anyOf)
integer
end_time object

Unix ms the last run finished; null while running

하나 이상(anyOf)
integer
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 worker run state

    activeActive (boolean)필수

    True when a cleanup worker 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)필수
  • ]
  • sinkers object

    Health markers written by each data-synchronization worker on every drain tick, keyed by worker name. Each entry reports the state, tick counters, the consecutive-failure streak, the last error, and the replication lag in bytes. A worker that has never written a marker is absent from the map, and any entry outside the ok state also degrades the top-level status.

    property name* Checkpoint

    Step execution checkpoint.

    stateState (string)필수

    Execution state (pending, running, completed, failed)

    offsets object필수

    Processing progress offsets

    property name*integer
    description object
    하나 이상(anyOf)
    string
    stacktrace object
    하나 이상(anyOf)
    string
    start_time object
    하나 이상(anyOf)
    integer
    end_time object
    하나 이상(anyOf)
    integer
    owner_token object
    하나 이상(anyOf)
    string
    expires_at object
    하나 이상(anyOf)
    integer
    property name*any

    Step execution checkpoint.

    OntologyHealthResponse
    {
    "status": "ok",
    "marker": {
    "status": "degraded",
    "sink": "string",
    "slot": "string",
    "reason": "string",
    "confirmed_flush_lsn": "string",
    "invalidated_at": 0,
    "resynced_at": 0
    },
    "graph_marker": {
    "status": "degraded",
    "sink": "string",
    "slot": "string",
    "reason": "string",
    "confirmed_flush_lsn": "string",
    "invalidated_at": 0,
    "resynced_at": 0
    },
    "resync": {
    "active": true,
    "run_id": "string",
    "state": "string",
    "description": "string",
    "start_time": 0,
    "end_time": 0
    },
    "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
    }
    ]
    },
    "sinkers": {}
    }