janhoy commented on a change in pull request #116:
URL: https://github.com/apache/solr/pull/116#discussion_r627512076



##########
File path: solr/contrib/prometheus-exporter/conf/grafana-solr-dashboard.json
##########
@@ -176,7 +176,7 @@
           "refId": "A"
         },
         {
-          "expr": "count(count by (node_name) 
(solr_collections_replica_state))",
+          "expr": "count(count by (node_name) 
(solr_collections_replica_state)) < solr_collections_live_nodes or 
solr_collections_live_nodes",

Review comment:
       This is a "bugfix" for when you e.g. have a cluster with 3 nodes but no 
configured collections. Instead of showing 0, we then fall back to live_nodes 
if that has a bigger number.
   
   We also shrink this graph to half size to make room for the zookeeper status 
next to it.




-- 
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.

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