dsmiley commented on a change in pull request #708:
URL: https://github.com/apache/solr/pull/708#discussion_r825252043



##########
File path: 
solr/prometheus-exporter/src/java/org/apache/solr/prometheus/scraper/SolrScraper.java
##########
@@ -160,7 +160,7 @@ protected MetricSamples request(SolrClient client, 
MetricsQuery query) throws IO
 
           if (client instanceof CloudSolrClient) {
             labelNames.add("zk_host");
-            labelValues.add(((CloudSolrClient) client).getZkHost());
+            labelValues.add(((CloudSolrClient) 
client).getClusterStateProvider().getQuorumHosts());

Review comment:
       Again, this is intentional to be generic




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to