aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorYijie Shen <henry.yijieshen@gmail.com>2015-06-05 07:45:25 +0200
committerSean Owen <sowen@cloudera.com>2015-06-05 07:45:25 +0200
commit2777ed3948d26b14e342ba161e145009e31b8829 (patch)
tree1959763d59bbfc6715ebc83c662d516e07838cd7 /conf
parente5054605994b8777e629c02fcbf8a5a6cbd0b0fe (diff)
downloadspark-2777ed3948d26b14e342ba161e145009e31b8829.tar.gz
spark-2777ed3948d26b14e342ba161e145009e31b8829.tar.bz2
spark-2777ed3948d26b14e342ba161e145009e31b8829.zip
[DOC][Minor]Specify the common sources available for collecting
I was wondering what else common sources available until search the source code. Maybe better to make this clear. Author: Yijie Shen <henry.yijieshen@gmail.com> Closes #6641 from yijieshen/patch-1 and squashes the following commits: b5b99b4 [Yijie Shen] Make it clear that JvmSource is the only available additional source currently f23140c [Yijie Shen] [DOC][Minor]Specify the common sources available for collecting
Diffstat (limited to 'conf')
-rw-r--r--conf/metrics.properties.template11
1 files changed, 9 insertions, 2 deletions
diff --git a/conf/metrics.properties.template b/conf/metrics.properties.template
index 7de0011a48..7f17bc7eea 100644
--- a/conf/metrics.properties.template
+++ b/conf/metrics.properties.template
@@ -4,7 +4,7 @@
# divided into instances which correspond to internal components.
# Each instance can be configured to report its metrics to one or more sinks.
# Accepted values for [instance] are "master", "worker", "executor", "driver",
-# and "applications". A wild card "*" can be used as an instance name, in
+# and "applications". A wildcard "*" can be used as an instance name, in
# which case all instances will inherit the supplied property.
#
# Within an instance, a "source" specifies a particular set of grouped metrics.
@@ -32,7 +32,7 @@
# name (see examples below).
# 2. Some sinks involve a polling period. The minimum allowed polling period
# is 1 second.
-# 3. Wild card properties can be overridden by more specific properties.
+# 3. Wildcard properties can be overridden by more specific properties.
# For example, master.sink.console.period takes precedence over
# *.sink.console.period.
# 4. A metrics specific configuration
@@ -47,6 +47,13 @@
# instance master and applications. MetricsServlet may not be configured by self.
#
+## List of available common sources and their properties.
+
+# org.apache.spark.metrics.source.JvmSource
+# Note: Currently, JvmSource is the only available common source
+# to add additionaly to an instance, to enable this,
+# set the "class" option to its fully qulified class name (see examples below)
+
## List of available sinks and their properties.
# org.apache.spark.metrics.sink.ConsoleSink