599166320 commented on code in PR #13034:
URL: https://github.com/apache/druid/pull/13034#discussion_r964584440


##########
extensions-contrib/prometheus-emitter/src/main/java/org/apache/druid/emitter/prometheus/PrometheusEmitterConfig.java:
##########
@@ -78,8 +83,10 @@ public PrometheusEmitterConfig(
     this.port = port;
     if (this.strategy == Strategy.pushgateway) {
       Preconditions.checkNotNull(pushGatewayAddress, "Invalid pushGateway 
address");
+      Preconditions.checkNotNull(pushRateSec, "Invalid pushRateSec");

Review Comment:
   I changed the default value of flushPeriod to 15s, because the default 
scrape_interval of prometheus is the same



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