kfaraz commented on code in PR #18314:
URL: https://github.com/apache/druid/pull/18314#discussion_r2230070149


##########
embedded-tests/src/test/java/org/apache/druid/testing/embedded/indexing/EmbeddedIndexTaskTest.java:
##########
@@ -61,8 +61,10 @@ public class EmbeddedIndexTaskTest extends 
EmbeddedClusterTestBase
   @Override
   public EmbeddedDruidCluster createCluster()
   {
+    broker.addProperty("druid.monitoring.monitors", 
"[\"org.apache.druid.server.metrics.BrokerSegmentCountStatsMonitor\"]");
     return EmbeddedDruidCluster.withEmbeddedDerbyAndZookeeper()
                                .useLatchableEmitter()
+                               
.addCommonProperty("druid.monitoring.emissionPeriod", "PT0.1s")

Review Comment:
   Add this property only to the Broker.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to