/** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ClickhouseReplicaHealth */ export interface ClickhouseReplicaHealth { /** * Database name. * @type {string} * @memberof ClickhouseReplicaHealth */ 'database'?: string; /** * Table name. * @type {string} * @memberof ClickhouseReplicaHealth */ 'table'?: string; /** * ClickHouse server host that reported this replica. * @type {string} * @memberof ClickhouseReplicaHealth */ 'hostName'?: string; /** * Replica is in readonly mode. Usually indicates Keeper or network problems. * @type {boolean} * @memberof ClickhouseReplicaHealth */ 'isReadonly'?: boolean; /** * Keeper session expired. * @type {boolean} * @memberof ClickhouseReplicaHealth */ 'isSessionExpired'?: boolean; /** * absolute_delay from system.replicas. * @type {number} * @memberof ClickhouseReplicaHealth */ 'absoluteDelaySeconds'?: number; /** * replication queue size. * @type {number} * @memberof ClickhouseReplicaHealth */ 'queueSize'?: number; /** * Number of inserts waiting in the replication queue. * @type {number} * @memberof ClickhouseReplicaHealth */ 'insertsInQueue'?: number; /** * Number of merges waiting in the replication queue. * @type {number} * @memberof ClickhouseReplicaHealth */ 'mergesInQueue'?: number; /** * Number of future parts. * @type {number} * @memberof ClickhouseReplicaHealth */ 'futureParts'?: number; /** * Number of parts to check. * @type {number} * @memberof ClickhouseReplicaHealth */ 'partsToCheck'?: number; /** * total_replicas for the table. * @type {number} * @memberof ClickhouseReplicaHealth */ 'totalReplicas'?: number; /** * active_replicas for the table. * @type {number} * @memberof ClickhouseReplicaHealth */ 'activeReplicas'?: number; /** * Maximum log index in Keeper. * @type {number} * @memberof ClickhouseReplicaHealth */ 'logMaxIndex'?: number; /** * Last applied log index. * @type {number} * @memberof ClickhouseReplicaHealth */ 'logPointer'?: number; /** * Last replication queue update time in RFC3339 UTC. * @type {string} * @memberof ClickhouseReplicaHealth */ 'lastQueueUpdate'?: string; /** * Keeper path of the table. * @type {string} * @memberof ClickhouseReplicaHealth */ 'zookeeperPath'?: string; /** * Replica name. * @type {string} * @memberof ClickhouseReplicaHealth */ 'replicaName'?: string; /** * Replica path in Keeper. * @type {string} * @memberof ClickhouseReplicaHealth */ 'replicaPath'?: string; /** * Last Keeper exception, empty when healthy. * @type {string} * @memberof ClickhouseReplicaHealth */ 'zookeeperException'?: string; /** * Last replication queue update exception, empty when healthy. * @type {string} * @memberof ClickhouseReplicaHealth */ 'lastQueueUpdateException'?: string; /** * normal, warning or critical. * @type {string} * @memberof ClickhouseReplicaHealth */ 'risk'?: string; /** * Detected issue codes such as readonly, session_expired, replication_delay, queue_backlog, missing_replicas, keeper_error or queue_update_error. * @type {Array} * @memberof ClickhouseReplicaHealth */ 'issues'?: Array; } //# sourceMappingURL=clickhouse-replica-health.d.ts.map