# Get namespace metric

**URL:** <https://discuss.aerospike.com/t/get-namespace-metric/4710>\
**Category:** Java Client\
**Created:** [October 18, 2017, 7:02am UTC](https://discuss.aerospike.com/t/get-namespace-metric/4710 "2017-10-18T07:02:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bova](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@bova](https://discuss.aerospike.com/u/bova)\
**Post date:** [October 18, 2017, 7:02am UTC](https://discuss.aerospike.com/t/get-namespace-metric/4710/1 "2017-10-18T07:02:16Z")

</div>

Hi,

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?

---

<div class="post-metadata">

**Author:** ![bova](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@bova](https://discuss.aerospike.com/u/bova)\
**Post date:** [October 18, 2017, 7:46am UTC](https://discuss.aerospike.com/t/get-namespace-metric/4710/2 "2017-10-18T07:46:11Z")

</div>

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