Get namespace metric



I am looking a way how to get aerospike namespace metrics via java API. For example aql command "stat namespace " returns actual value for “memory_free_pct”

Could you please point me how to retrieve it using aerospike Java client?


seems I found how to do it. Using Info.request() operation. Info.request(node.getConnection(1000), “namespace/‘namespace’”);