Cassandra Clusters - Status
Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/status?api-version=2025-04-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
cluster
|
path | True |
string minLength: 1maxLength: 100 pattern: ^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$ |
Managed Cassandra cluster name. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string (uuid) |
The ID of the target subscription. The value must be an UUID. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully fetched the usage statistics of all nodes in the cluster. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | Impersonate your user account |
Examples
CosmosDBManagedCassandraStatus
Sample request
GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/cassandra-prod-rg/providers/Microsoft.DocumentDB/cassandraClusters/cassandra-prod/status?api-version=2025-04-15
Sample response
{
"eTag": "A350A2CE7E91B6D5A102A5E5EC222B882D981092",
"reaperStatus": {
"healthy": true,
"repairRunIds": {},
"repairSchedules": {
"00000000-0000-0001-0000-000000000000": "ACTIVE"
}
},
"connectionErrors": [],
"dataCenters": [
{
"name": "cassandra-westus2-vmss",
"seedNodes": [
"10.0.8.10",
"10.0.8.11",
"10.0.8.12"
],
"nodes": [
{
"address": "10.0.8.10",
"state": "Normal",
"status": "Up",
"cassandraProcessStatus": "Running",
"load": "84.61 MiB",
"tokens": [
"-7785254003841681178",
"-6756518164561476165",
"-4269720020504480060",
"-2697657908817852783",
"-2622387897201218249",
"-2177258200443022948",
"-129203941752875603",
"1738406920822650025",
"2598053056312400240",
"3227346424117996872",
"3644347038875498376",
"4823546474906050895",
"5293156680707616627",
"5485806686603256557",
"6250058817756969464",
"7991328665766267709"
],
"size": 16,
"hostID": "8ccc00a7-9e22-4ac2-aa63-e5327aa0dc51",
"rack": "rack1",
"timestamp": "10/05/2021, 14:35:20.028",
"diskUsedKB": 749836,
"diskFreeKB": 1001260056,
"memoryUsedKB": 11061032,
"memoryBuffersAndCachedKB": 10817580,
"memoryFreeKB": 35731832,
"memoryTotalKB": 57610444,
"cpuUsage": 0.9
},
{
"address": "10.0.8.11",
"state": "Normal",
"status": "Up",
"cassandraProcessStatus": "Running",
"load": "59.67 MiB",
"tokens": [
"-8726238055665903210",
"-6687985003871487470",
"-5269140854976433359",
"-3989177686905645288",
"-3957362495277148220",
"-2539287458896988944",
"-2460716365393303466",
"-1848370030729221440",
"137707733677015122",
"579467328507000597",
"1698264534774619627",
"1904235159942090722",
"3312208865519999146",
"4035940456270983993",
"4412314431151736777",
"8232565668795426078"
],
"size": 16,
"hostID": "14092117-4f77-4ec0-8984-c5b860b88a47",
"rack": "rack2",
"timestamp": "10/05/2021, 14:35:20.028",
"diskUsedKB": 726864,
"diskFreeKB": 1001283028,
"memoryUsedKB": 11055676,
"memoryBuffersAndCachedKB": 10691520,
"memoryFreeKB": 35863248,
"memoryTotalKB": 57610444,
"cpuUsage": 1.2
},
{
"address": "10.0.8.12",
"state": "Normal",
"status": "Up",
"cassandraProcessStatus": "Running",
"load": "93.2 MiB",
"tokens": [
"-5679481051867296621",
"-4574115287969297989",
"-3444578133211470522",
"-2755931580714972271",
"-2304431590844389550",
"-1961946736975068713",
"-940120277889446704",
"554469308917912318",
"1030447162050118004",
"2745632329542596589",
"4564547712926446283",
"5185613478135944116",
"7280237939830623824",
"7504213835759531710",
"7631994478195429959",
"8139769477321226157"
],
"size": 16,
"hostID": "e16ada14-39db-462b-9f9e-5b5f6beb8bbd",
"rack": "rack3",
"timestamp": "10/05/2021, 14:35:20.028",
"diskUsedKB": 757540,
"diskFreeKB": 1001252352,
"memoryUsedKB": 11051608,
"memoryBuffersAndCachedKB": 10453856,
"memoryFreeKB": 36104980,
"memoryTotalKB": 57610444,
"cpuUsage": 0.4
}
]
}
]
}
Definitions
Name | Description |
---|---|
Cassandra |
Properties of a managed Cassandra cluster public status. |
Cassandra |
|
Cloud |
An error response from the service. |
Connection |
|
Connection |
The kind of connection error that occurred. |
Data |
List of the status of each datacenter in this cluster. |
Error |
Error Response. |
Managed |
|
Nodes | |
Node |
The state of the node in Cassandra ring. |
CassandraClusterPublicStatus
Properties of a managed Cassandra cluster public status.
Name | Type | Description |
---|---|---|
connectionErrors |
List relevant information about any connection errors to the Datacenters. |
|
dataCenters |
List of the status of each datacenter in this cluster. |
|
eTag |
string |
|
errors |
List relevant information about any errors about cluster, data center and connection error. |
|
reaperStatus |
CassandraError
Name | Type | Description |
---|---|---|
additionalErrorInfo |
string |
Additional information about the error. |
code |
string |
The code of error that occurred. |
message |
string |
The message of the error. |
target |
string |
The target resource of the error. |
CloudError
An error response from the service.
Name | Type | Description |
---|---|---|
error |
Error Response. |
ConnectionError
Name | Type | Description |
---|---|---|
connectionState |
The kind of connection error that occurred. |
|
exception |
string |
Detailed error message about the failed connection. |
iPFrom |
string |
The IP of host that originated the failed connection. |
iPTo |
string |
The IP that the connection attempted to reach. |
port |
integer (int32) |
The TCP port the connection was attempted on. |
ConnectionState
The kind of connection error that occurred.
Value | Description |
---|---|
Unknown | |
OK | |
OperatorToDataCenterNetworkError | |
DatacenterToDatacenterNetworkError | |
InternalOperatorToDataCenterCertificateError | |
InternalError |
DataCenters
List of the status of each datacenter in this cluster.
Name | Type | Description |
---|---|---|
name |
string |
The name of this Datacenter. |
nodes |
Nodes[] |
|
seedNodes |
string[] |
A list of all seed nodes in the cluster, managed and unmanaged. |
ErrorResponse
Error Response.
Name | Type | Description |
---|---|---|
code |
string |
Error code. |
message |
string |
Error message indicating why the operation failed. |
ManagedCassandraReaperStatus
Name | Type | Description |
---|---|---|
healthy |
boolean |
|
repairRunIds |
object |
|
repairSchedules |
object |
Nodes
Name | Type | Description |
---|---|---|
address |
string |
The node's IP address. |
cassandraProcessStatus |
string |
Cassandra service status on this node |
cpuUsage |
number (double) |
A float representing the current system-wide CPU utilization as a percentage. |
diskFreeKB |
integer (int64) |
The amount of disk free, in kB, of the directory /var/lib/cassandra. |
diskUsedKB |
integer (int64) |
The amount of disk used, in kB, of the directory /var/lib/cassandra. |
hostID |
string |
The network ID of the node. |
load |
string |
The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories. Because all SSTable data files are included, any data that is not cleaned up (such as TTL-expired cells or tombstones) is counted. |
memoryBuffersAndCachedKB |
integer (int64) |
Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB. |
memoryFreeKB |
integer (int64) |
Unused memory (MemFree and SwapFree in /proc/meminfo), in kB. |
memoryTotalKB |
integer (int64) |
Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB. |
memoryUsedKB |
integer (int64) |
Used memory (calculated as total - free - buffers - cache), in kB. |
rack |
string |
The rack this node is part of. |
size |
integer (int32) |
|
state |
The state of the node in Cassandra ring. |
|
status |
string |
|
timestamp |
string |
The timestamp when these statistics were captured. |
tokens |
string[] |
List of tokens this node covers. |
NodeState
The state of the node in Cassandra ring.
Value | Description |
---|---|
Normal | |
Leaving | |
Joining | |
Moving | |
Stopped |