summaryrefslogtreecommitdiff
path: root/docs/reference/cluster/stats.asciidoc
diff options
context:
space:
mode:
authorjavanna <cavannaluca@gmail.com>2016-08-31 15:43:09 +0200
committerLuca Cavanna <cavannaluca@gmail.com>2016-09-01 11:26:03 +0200
commit5f299ff46f0a031fa58f3089c90a199c8c952b19 (patch)
tree1f1c3306e9acacddd1d16d1cc4c5dcfb5c5b36c5 /docs/reference/cluster/stats.asciidoc
parent5211b6b4bc9c02edc2066798fffd00cc3c70ffd2 (diff)
add mem section back to cluster stats
The mem section was buggy in cluster stats and removed. It is now added back with the same structure as in node stats, containing total memory, available memory, used memory and percentages. All the values are the sum of all the nodes across the cluster (or at least the ones that we were able to get the values from).
Diffstat (limited to 'docs/reference/cluster/stats.asciidoc')
-rw-r--r--docs/reference/cluster/stats.asciidoc12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/reference/cluster/stats.asciidoc b/docs/reference/cluster/stats.asciidoc
index 4758ea2b0c..a95273f85f 100644
--- a/docs/reference/cluster/stats.asciidoc
+++ b/docs/reference/cluster/stats.asciidoc
@@ -116,7 +116,17 @@ Will return, for example:
"name": "Mac OS X",
"count": 1
}
- ]
+ ],
+ "mem" : {
+ "total" : "16gb",
+ "total_in_bytes" : 17179869184,
+ "free" : "78.1mb",
+ "free_in_bytes" : 81960960,
+ "used" : "15.9gb",
+ "used_in_bytes" : 17097908224,
+ "free_percent" : 0,
+ "used_percent" : 100
+ }
},
"process": {
"cpu": {