Use the compute grid. Something like:

Collection<DataStorageMetrics> mx = ignite.compute().broadcast(() -> {
    Ignite i = Ignition.ignite();
    return i.dataStorageMetrics();
});
System.out.println(mx);

Regards,
Stephen

> On 16 Dec 2019, at 11:28, Mahesh Renduchintala 
> <mahesh.renduchint...@aline-consulting.com> wrote:
> 
> Hi, 
> 
> I need to fetch the DataStorageMetric of server nodes.
> Tried the following API. It seems to give the dataStorageMetric of the local 
> node (a thick client) only. 
> DataStorageMetrics pm = ignite.dataStorageMetrics()
> 
> How do I programmatically fetch DataStorageMetric of the server node(s)?
> 
> 
> regards
> Mahesh


Reply via email to