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.
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]