aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorRussell Cardullo <russellcardullo@gmail.com>2013-11-08 16:36:03 -0800
committerRussell Cardullo <russellcardullo@gmail.com>2013-11-08 16:36:03 -0800
commitef85a51f85c9720bc091367a0d4f80e7ed6b9778 (patch)
tree5a3ef9b99f9330ea8beb1010e00ada8996205e6c /conf
parent3d4ad84b63e440fd3f4b3edb1b120ff7c14a42d1 (diff)
downloadspark-ef85a51f85c9720bc091367a0d4f80e7ed6b9778.tar.gz
spark-ef85a51f85c9720bc091367a0d4f80e7ed6b9778.tar.bz2
spark-ef85a51f85c9720bc091367a0d4f80e7ed6b9778.zip
Add graphite sink for metrics
This adds a metrics sink for graphite. The sink must be configured with the host and port of a graphite node and optionally may be configured with a prefix that will be prepended to all metrics that are sent to graphite.
Diffstat (limited to 'conf')
-rw-r--r--conf/metrics.properties.template8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/metrics.properties.template b/conf/metrics.properties.template
index ae10f615d1..1c3d94e1b0 100644
--- a/conf/metrics.properties.template
+++ b/conf/metrics.properties.template
@@ -80,6 +80,14 @@
# /metrics/aplications/json # App information
# /metrics/master/json # Master information
+# org.apache.spark.metrics.sink.GraphiteSink
+# Name: Default: Description:
+# host NONE Hostname of Graphite server
+# port NONE Port of Graphite server
+# period 10 Poll period
+# unit seconds Units of poll period
+# prefix EMPTY STRING Prefix to prepend to metric name
+
## Examples
# Enable JmxSink for all instances by class name
#*.sink.jmx.class=org.apache.spark.metrics.sink.JmxSink