Last active
November 22, 2017 21:08
-
-
Save MikeGoldsmith/c12a4565bdb54af68811bcb3e3df369d to your computer and use it in GitHub Desktop.
Example JSON structure returned from CB /pools/default endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"storageTotals":{ | |
"ram":{ | |
"total":1042685952, | |
"quotaTotal":268435456, | |
"quotaUsed":171966464, | |
"used":975515648, | |
"usedByData":21565232, | |
"quotaUsedPerNode":171966464, | |
"quotaTotalPerNode":268435456 | |
}, | |
"hdd":{ | |
"total":19828572160, | |
"quotaTotal":19828572160, | |
"used":1784571494, | |
"usedByData":4262454, | |
"free":18044000666 | |
} | |
}, | |
"ftsMemoryQuota":256, | |
"indexMemoryQuota":256, | |
"memoryQuota":256, | |
"name":"default", | |
"alerts":[ | |
], | |
"alertsSilenceURL":"/controller/resetAlerts?token=0&uuid=73b69f6ee9159cb427c9326162974d07", | |
"nodes":[ | |
{ | |
"systemStats":{ | |
"cpu_utilization_rate":2.061855670103093, | |
"swap_total":1107292160, | |
"swap_used":1339392, | |
"mem_total":1042685952, | |
"mem_free":367079424 | |
}, | |
"interestingStats":{ | |
"cmd_get":0, | |
"couch_docs_actual_disk_size":4262454, | |
"couch_docs_data_size":4241408, | |
"couch_spatial_data_size":0, | |
"couch_spatial_disk_size":0, | |
"couch_views_actual_disk_size":0, | |
"couch_views_data_size":0, | |
"curr_items":0, | |
"curr_items_tot":0, | |
"ep_bg_fetched":0, | |
"get_hits":0, | |
"mem_used":21565232, | |
"ops":0, | |
"vb_active_num_non_resident":0, | |
"vb_replica_curr_items":0 | |
}, | |
"uptime":"62358", | |
"memoryTotal":1042685952, | |
"memoryFree":367079424, | |
"mcdMemoryReserved":795, | |
"mcdMemoryAllocated":795, | |
"couchApiBase":"http://10.112.170.101:8092/", | |
"couchApiBaseHTTPS":"https://10.112.170.101:18092/", | |
"otpCookie":"67ed2d7bfc2f8646b9923ea6535ff9bfe4f2dfe4bb03315cde1c018b1526dcbc", | |
"clusterMembership":"active", | |
"recoveryType":"none", | |
"status":"healthy", | |
"otpNode":"ns_1@127.0.0.1", | |
"thisNode":true, | |
"hostname":"10.112.170.101:8091", | |
"clusterCompatibility":327680, | |
"version":"5.0.0-3519-enterprise", | |
"os":"x86_64-unknown-linux-gnu", | |
"ports":{ | |
"sslProxy":11214, | |
"httpsMgmt":18091, | |
"httpsCAPI":18092, | |
"proxy":11211, | |
"direct":11210 | |
}, | |
"services":[ | |
"fts", | |
"index", | |
"kv", | |
"n1ql" | |
] | |
} | |
], | |
"buckets":{ | |
"uri":"/pools/default/buckets?v=82869380&uuid=73b69f6ee9159cb427c9326162974d07", | |
"terseBucketsBase":"/pools/default/b/", | |
"terseStreamingBucketsBase":"/pools/default/bs/" | |
}, | |
"remoteClusters":{ | |
"uri":"/pools/default/remoteClusters?uuid=73b69f6ee9159cb427c9326162974d07", | |
"validateURI":"/pools/default/remoteClusters?just_validate=1" | |
}, | |
"controllers":{ | |
"addNode":{ | |
"uri":"/controller/addNodeV2?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"rebalance":{ | |
"uri":"/controller/rebalance?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"failOver":{ | |
"uri":"/controller/failOver?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"startGracefulFailover":{ | |
"uri":"/controller/startGracefulFailover?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"reAddNode":{ | |
"uri":"/controller/reAddNode?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"reFailOver":{ | |
"uri":"/controller/reFailOver?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"ejectNode":{ | |
"uri":"/controller/ejectNode?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"setRecoveryType":{ | |
"uri":"/controller/setRecoveryType?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"setAutoCompaction":{ | |
"uri":"/controller/setAutoCompaction?uuid=73b69f6ee9159cb427c9326162974d07", | |
"validateURI":"/controller/setAutoCompaction?just_validate=1" | |
}, | |
"clusterLogsCollection":{ | |
"startURI":"/controller/startLogsCollection?uuid=73b69f6ee9159cb427c9326162974d07", | |
"cancelURI":"/controller/cancelLogsCollection?uuid=73b69f6ee9159cb427c9326162974d07" | |
}, | |
"replication":{ | |
"createURI":"/controller/createReplication?uuid=73b69f6ee9159cb427c9326162974d07", | |
"validateURI":"/controller/createReplication?just_validate=1" | |
} | |
}, | |
"rebalanceStatus":"none", | |
"rebalanceProgressUri":"/pools/default/rebalanceProgress", | |
"stopRebalanceUri":"/controller/stopRebalance?uuid=73b69f6ee9159cb427c9326162974d07", | |
"nodeStatusesUri":"/nodeStatuses", | |
"maxBucketCount":10, | |
"autoCompactionSettings":{ | |
"parallelDBAndViewCompaction":false, | |
"databaseFragmentationThreshold":{ | |
"percentage":30, | |
"size":"undefined" | |
}, | |
"viewFragmentationThreshold":{ | |
"percentage":30, | |
"size":"undefined" | |
}, | |
"indexCompactionMode":"circular", | |
"indexCircularCompaction":{ | |
"daysOfWeek":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday", | |
"interval":{ | |
"fromHour":0, | |
"toHour":0, | |
"fromMinute":0, | |
"toMinute":0, | |
"abortOutside":false | |
} | |
}, | |
"indexFragmentationThreshold":{ | |
"percentage":30 | |
} | |
}, | |
"tasks":{ | |
"uri":"/pools/default/tasks?v=110657196" | |
}, | |
"counters":{ | |
}, | |
"indexStatusURI":"/indexStatus?v=21137658", | |
"checkPermissionsURI":"/pools/default/checkPermissions?v=zC129o5iv9i24iZBIRe1iXAkxkA%3D", | |
"serverGroupsUri":"/pools/default/serverGroups?v=52184775", | |
"clusterName":"test", | |
"balanced":true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment