-
- Downloads
[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
Showing
- conf/metrics.properties.template 9 additions, 0 deletionsconf/metrics.properties.template
- core/src/main/scala/org/apache/spark/metrics/sink/Slf4jSink.scala 68 additions, 0 deletions.../main/scala/org/apache/spark/metrics/sink/Slf4jSink.scala
- docs/monitoring.md 1 addition, 0 deletionsdocs/monitoring.md
Please register or sign in to comment