Hi All,

I'm attempting to connect to the metrics api in solrj to query metrics from
my cluster. Using the CloudSolrClient, I get routed to one node, and get
metrics only from that node.

I'm building my request like this:

    GenericSolrRequest req = new GenericSolrRequest(METHOD.GET,
"/admin/metrics", new MapSolrParams(params));

     NamedList<Object> resp = getCloudSolrClient().request(req);

And this returns metrics only from the node that gets selected by the
LbHttpClient (I think).

Is there an easy way to query all of the nodes for their metrics in solrj?

Kyle

Reply via email to