From 09c7179e812a06cb43a4975bca15d1b9963da975 Mon Sep 17 00:00:00 2001 From: jerryshao Date: Mon, 12 Aug 2013 11:40:40 +0800 Subject: MetricsServlet code refactor according to comments --- conf/metrics.properties.template | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'conf') diff --git a/conf/metrics.properties.template b/conf/metrics.properties.template index 07fd046539..6c36f3cca4 100644 --- a/conf/metrics.properties.template +++ b/conf/metrics.properties.template @@ -41,17 +41,12 @@ # customize metrics system. You can also put the file in ${SPARK_HOME}/conf # and it will be loaded automatically. # 5. MetricsServlet is added by default as a sink in master, worker and client -# driver, you can send http request "/metrics" to get a snapshot of all the -# registered metrics in json format. For master, requests "/metrics/master" and -# "/metrics/applications" can be sent seperately to get metrics snapshot of -# instance master and applications. +# driver, you can send http request "/metrics/json" to get a snapshot of all the +# registered metrics in json format. For master, requests "/metrics/master/json" and +# "/metrics/applications/json" can be sent seperately to get metrics snapshot of +# instance master and applications. MetricsServlet may not be configured by self. # -# Change MetricsServlet's property -#*.sink.servlet.uri=/metrics -# -#*.sink.servlet.sample=false - # Enable JmxSink for all instances by class name #*.sink.jmx.class=spark.metrics.sink.JmxSink -- cgit v1.2.3