Back to Cockroach

Nodes Other

docs/generated/http/nodes-other.md

26.1.45.8 KB
Original Source

<a name="cockroach.server.status.statuspb.NodeStatus"></a>

NodeStatus

NodeStatus records the most recent values of metrics for a node.

Support status: alpha

FieldTypeLabelDescriptionSupport status
desccockroach.roachpb.NodeDescriptordesc is the node descriptor.reserved
build_infocockroach.build.Infobuild_info describes the cockroach executable file.alpha
started_atint64started_at is the unix timestamp at which the node process was last started.alpha
updated_atint64updated_at is the unix timestamp at which the node status record was last updated.alpha
metricsNodeStatus.MetricsEntryrepeatedmetrics contains the last sampled values for the node metrics.reserved
store_statusesStoreStatusrepeatedstore_statuses provides the store status payloads for all the stores on that node.reserved
argsstringrepeatedargs is the list of command-line arguments used to last start the node.reserved
envstringrepeatedenv is the list of environment variables that influenced the node's configuration.reserved
latenciesNodeStatus.LatenciesEntryrepeatedlatencies is a map of nodeIDs to nanoseconds which is the latency between this node and the other node.

NOTE: this is deprecated and is only set if the min supported cluster version is >= VersionRPCNetworkStats. | reserved | | activity | NodeStatus.ActivityEntry | repeated | activity is a map of nodeIDs to network statistics from this node to other nodes. | reserved | | total_system_memory | int64 | | total_system_memory is the total RAM available to the system (or, if detected, the memory available to the cgroup this process is in) in bytes. | alpha | | num_cpus | int32 | | num_cpus is the number of logical CPUs as reported by the operating system on the host where the cockroach process is running. This reflects the physical CPU count and does not account for container/cgroup limits. See num_vcpus for container-aware CPU allocation. | alpha | | num_vcpus | double | | num_vcpus is the number of vCPUs allocated to the process by the container orchestrator (e.g., Kubernetes, Docker) based on cgroup CPU quota/period. This represents the platform CPU allocation and is independent of GOMAXPROCS runtime tuning. Falls back to num_cpus if no container limits are configured. Supports fractional values (e.g., 1.5 for Kubernetes CPU limits like "1500m"). | alpha |

<a name="cockroach.server.status.statuspb.NodeStatus.MetricsEntry"></a>

NodeStatus.MetricsEntry

FieldTypeLabelDescriptionSupport status
keystring
valuedouble

<a name="cockroach.server.status.statuspb.StoreStatus"></a>

StoreStatus

StoreStatus records the most recent values of metrics for a store.

Support status: reserved

FieldTypeLabelDescriptionSupport status
desccockroach.roachpb.StoreDescriptordesc is the store descriptor.reserved
metricsStoreStatus.MetricsEntryrepeatedmetrics contains the last sampled values for the node metrics.reserved

<a name="cockroach.server.status.statuspb.StoreStatus.MetricsEntry"></a>

StoreStatus.MetricsEntry

FieldTypeLabelDescriptionSupport status
keystring
valuedouble

<a name="cockroach.server.status.statuspb.NodeStatus.LatenciesEntry"></a>

NodeStatus.LatenciesEntry

FieldTypeLabelDescriptionSupport status
keyint32
valueint64

<a name="cockroach.server.status.statuspb.NodeStatus.ActivityEntry"></a>

NodeStatus.ActivityEntry

FieldTypeLabelDescriptionSupport status
keyint32
valueNodeStatus.NetworkActivity

<a name="cockroach.server.status.statuspb.NodeStatus.NetworkActivity"></a>

NodeStatus.NetworkActivity

Support status: reserved

FieldTypeLabelDescriptionSupport status
latencyint64in nanosecondsreserved

<a name="cockroach.server.serverpb.NodesResponse.LivenessByNodeIdEntry"></a>

NodesResponse.LivenessByNodeIdEntry

FieldTypeLabelDescriptionSupport status
keyint32
valuecockroach.kv.kvserver.liveness.livenesspb.NodeLivenessStatus