GitHub user JoshRosen opened a pull request: https://github.com/apache/spark/pull/18083
[SPARK-20863] Add metrics/instrumentation to LiveListenerBus ## What changes were proposed in this pull request? This patch adds Coda Hale metrics for instrumenting the `LiveListenerBus` in order to track the number of events received, dropped, and processed, as well as a timer to track the processing time per event. See the new `LiveListenerBusMetrics` for a complete description of the new metrics. ## How was this patch tested? New tests in SparkListenerSuite, including a test to ensure proper counting of dropped listener events. You can merge this pull request into a Git repository by running: $ git pull https://github.com/JoshRosen/spark listener-bus-metrics Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18083.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18083 ---- commit a1fb5a8f2e58fe774aabc76e9d1a6859cfa99370 Author: Josh Rosen <joshro...@databricks.com> Date: 2017-05-23T21:49:35Z WIP ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org