Etcd · Schema

StatusResponse

Response from a member status query

Cloud NativeConsensusDistributed SystemsGraduatedKey-Value StoreKubernetes

Properties

Name Type Description
header object
version string etcd version of the member
dbSize string Size of the backend database in bytes
dbSizeInUse string Size of the backend database in bytes actually in use
leader string Member ID of the current cluster leader
raftIndex string Current Raft index of the member
raftTerm string Current Raft term of the member
raftAppliedIndex string Current Raft applied index of the member
errors array List of active alarms or errors on the member
isLearner boolean True if this member is a non-voting learner
View JSON Schema on GitHub

JSON Schema

etcd-statusresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StatusResponse",
  "title": "StatusResponse",
  "type": "object",
  "description": "Response from a member status query",
  "properties": {
    "header": {
      "$ref": "#/components/schemas/ResponseHeader"
    },
    "version": {
      "type": "string",
      "description": "etcd version of the member"
    },
    "dbSize": {
      "type": "string",
      "description": "Size of the backend database in bytes"
    },
    "dbSizeInUse": {
      "type": "string",
      "description": "Size of the backend database in bytes actually in use"
    },
    "leader": {
      "type": "string",
      "description": "Member ID of the current cluster leader"
    },
    "raftIndex": {
      "type": "string",
      "description": "Current Raft index of the member"
    },
    "raftTerm": {
      "type": "string",
      "description": "Current Raft term of the member"
    },
    "raftAppliedIndex": {
      "type": "string",
      "description": "Current Raft applied index of the member"
    },
    "errors": {
      "type": "array",
      "description": "List of active alarms or errors on the member",
      "items": {
        "type": "string"
      }
    },
    "isLearner": {
      "type": "boolean",
      "description": "True if this member is a non-voting learner"
    }
  }
}