sigram commented on a change in pull request #2040:
URL: https://github.com/apache/lucene-solr/pull/2040#discussion_r535413902
##########
File path: solr/core/src/java/org/apache/solr/cloud/Overseer.java
##########
@@ -185,6 +190,9 @@ public ClusterStateUpdater(final ZkStateReader reader,
final String myId, Stats
this.completedMap = getCompletedMap(zkClient);
this.myId = myId;
this.reader = reader;
+
+ registryName =
SolrMetricManager.getRegistryName(SolrInfoBean.Group.overseer);
+ metricManager.registerGauge(null, registryName, () ->
stateUpdateQueue.getZkStats().getQueueLength(), "overseer", true,
"stateUpdateQueueSize", "queue");
Review comment:
@megancarey unfortunately, there's not much documentation apart from the
javadocs and user-level info in the RefGuide. We should create a doc in
solr/dev-docs/metrics.
----------------------------------------------------------------
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]