Skip to content

Commit

Permalink
[SPARK-40506]Spark Streaming metrics name doesn't need application name
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjunbo committed Sep 20, 2022
1 parent e021f8b commit 82cd4a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import org.apache.spark.streaming.ui.StreamingJobProgressListener

private[streaming] class StreamingSource(ssc: StreamingContext) extends Source {
override val metricRegistry = new MetricRegistry
override val sourceName = "%s.StreamingMetrics".format(ssc.sparkContext.appName)
override val sourceName = "StreamingMetrics"

private val streamingListener = ssc.progressListener

Expand Down

0 comments on commit 82cd4a0

Please sign in to comment.