summaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorGeir Storli <geirst@oath.com>2018-02-19 16:40:24 +0100
committerGeir Storli <geirst@oath.com>2018-02-19 16:43:18 +0100
commit846a2821f32910d31ecbf51d93d5951521fc2ee9 (patch)
tree3e1c0e55814bfc0d2a733ac494b8bc52d22cb012 /protocols
parent077656a019587ea4951a0f4ec156b8bee04e7385 (diff)
Add handling of bucket spaces stats to HostInfo and ClusterStatsAggregator.
Handling of outstanding merge ops has been removed as this information has never been provided by the distributors.
Diffstat (limited to 'protocols')
-rw-r--r--protocols/getnodestate/host_info.json47
1 files changed, 19 insertions, 28 deletions
diff --git a/protocols/getnodestate/host_info.json b/protocols/getnodestate/host_info.json
index 5ef62d1a84f..305f279c847 100644
--- a/protocols/getnodestate/host_info.json
+++ b/protocols/getnodestate/host_info.json
@@ -48,20 +48,22 @@
"count": 16
}
},
- "outstanding-merge-ops": {
- "syncing": {
- "buckets": 1
+ "bucket-spaces": [
+ {
+ "name": "default",
+ "buckets": {
+ "total": 11,
+ "pending": 3
+ }
},
- "copying-in": {
- "buckets": 2
- },
- "moving-out": {
- "buckets": 3
- },
- "copying-out": {
- "buckets": 4
+ {
+ "name": "global",
+ "buckets": {
+ "total": 13,
+ "pending": 5
+ }
}
- }
+ ]
},
{
"node-index": 1,
@@ -71,24 +73,13 @@
"latency-ms-sum": 17,
"count": 18
}
- },
- "outstanding-merge-ops": {
- "syncing": {
- "buckets": 1
- },
- "copying-in": {
- "buckets": 2
- },
- "moving-out": {
- "buckets": 3
- },
- "copying-out": {
- "buckets": 4
+ },
+ "bucket-spaces": [
+ {
+ "name": "default"
}
- }
-
+ ]
}
-
]
}
}