You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/12/11 05:50:31 UTC

[GitHub] [incubator-hudi] lamber-ken commented on a change in pull request #1095: [HUDI-210] Implement prometheus metrics reporter

lamber-ken commented on a change in pull request #1095: [HUDI-210] Implement prometheus metrics reporter
URL: https://github.com/apache/incubator-hudi/pull/1095#discussion_r356413234
 
 

 ##########
 File path: hudi-client/src/main/java/org/apache/hudi/config/HoodieMetricsConfig.java
 ##########
 @@ -57,6 +57,14 @@
 
   public static final String GRAPHITE_METRIC_PREFIX = GRAPHITE_PREFIX + ".metric.prefix";
 
+  // Prometheus
+  public static final String PROMETHEUS_PUSHGATEWAY_PREFIX = METRIC_PREFIX + ".graphite";
+  public static final String PROMETHEUS_PUSHGATEWAY_HOST = PROMETHEUS_PUSHGATEWAY_PREFIX + ".host";
+  public static final String DEFAULT_PROMETHEUS_PUSHGATEWAY_HOST = "localhost";
+
+  public static final String  PROMETHEUS_PUSHGATEWAY_PORT = PROMETHEUS_PUSHGATEWAY_PREFIX + ".port";
+  public static final int DEFAULT_PROMETHEUS_PUSHGATEWAY_PORT = 8080;
 
 Review comment:
   Hi, default port is `9091`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services