diff options
author | Judy <judynash@microsoft.com> | 2015-02-24 20:50:16 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-02-24 20:50:16 +0000 |
commit | c5ba975ee85521f708ebeec81144347cf1b40fba (patch) | |
tree | d7ee3d182d281d5031b73d9ddffd1783a86af82e /docs | |
parent | 105791e35cee694f3b2ac1e06758650fe44e2c71 (diff) | |
download | spark-c5ba975ee85521f708ebeec81144347cf1b40fba.tar.gz spark-c5ba975ee85521f708ebeec81144347cf1b40fba.tar.bz2 spark-c5ba975ee85521f708ebeec81144347cf1b40fba.zip |
[Spark-5708] Add Slf4jSink to Spark Metrics
Add Slf4jSink to Spark Metrics using Coda Hale's SlfjReporter.
This sends metrics to log4j, allowing spark users to reuse log4j pipeline for metrics collection.
Reviewed existing unit tests and didn't see any sink-related tests. Please advise on if tests should be added.
Author: Judy <judynash@microsoft.com>
Author: judynash <judynash@microsoft.com>
Closes #4644 from judynash/master and squashes the following commits:
57ef214 [judynash] doc clarification and indent fixes
a751a66 [Judy] Spark-5708: Add Slf4jSink to Spark Metrics
Diffstat (limited to 'docs')
-rw-r--r-- | docs/monitoring.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/monitoring.md b/docs/monitoring.md index 7a5cadc171..009a344dff 100644 --- a/docs/monitoring.md +++ b/docs/monitoring.md @@ -176,6 +176,7 @@ Each instance can report to zero or more _sinks_. Sinks are contained in the * `JmxSink`: Registers metrics for viewing in a JMX console. * `MetricsServlet`: Adds a servlet within the existing Spark UI to serve metrics data as JSON data. * `GraphiteSink`: Sends metrics to a Graphite node. +* `Slf4jSink`: Sends metrics to slf4j as log entries. Spark also supports a Ganglia sink which is not included in the default build due to licensing restrictions: |