Github user skonto commented on a diff in the pull request:
https://github.com/apache/spark/pull/22381#discussion_r216431046
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -560,6 +561,7 @@ class SparkContext(config: SparkConf) extends Logging {
setupAndStartListenerBus()
postEnvironmentUpdate()
+ _env.metricsSystem.registerSource(appStatusSource)
--- End diff --
Yeah I was wondering where that would be bet to put. So at the end makes
sense on the other hand what if I want to have metrics as early as the app
starts. Anyway, for now its ok.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]