Getting Cluster statistics

I am exploring the statistics available in the C client library. I started with aerospike_stats(), which populates an as_cluster_stats object. I was hoping that it’s members will be having all relevant stats about the cluster. One of its 3 members is a pointer to an as_node_stats object. I’m not able to understand, why is this object used here(it gives info about only a particular node). How will I get the info of the whole cluster from this object?

It’s an array of node stats, not a single node stats. nodes_size indicates how many node elements are in the array.

Thank you!

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.