aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorjerryshao <saisai.shao@intel.com>2013-08-12 11:40:40 +0800
committerjerryshao <saisai.shao@intel.com>2013-08-12 13:23:23 +0800
commit09c7179e812a06cb43a4975bca15d1b9963da975 (patch)
tree371f1bc8f9b16858dc5e37f3b3a7e18d0de83732 /conf
parent320e87e7ab009b851ab035253c04ad56a7bb5955 (diff)
downloadspark-09c7179e812a06cb43a4975bca15d1b9963da975.tar.gz
spark-09c7179e812a06cb43a4975bca15d1b9963da975.tar.bz2
spark-09c7179e812a06cb43a4975bca15d1b9963da975.zip
MetricsServlet code refactor according to comments
Diffstat (limited to 'conf')
-rw-r--r--conf/metrics.properties.template13
1 files changed, 4 insertions, 9 deletions
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