gaborgsomogyi commented on a change in pull request #30336:
URL: https://github.com/apache/spark/pull/30336#discussion_r524249906
##########
File path: core/src/main/scala/org/apache/spark/internal/config/UI.scala
##########
@@ -203,4 +203,15 @@ private[spark] object UI {
.stringConf
.transform(_.toUpperCase(Locale.ROOT))
.createWithDefault("LOCAL")
+
+ val ENABLED_STREAMING_UI_CUSTOM_METRIC_LIST =
+ ConfigBuilder("spark.ui.sql.streaming.enabledCustomMetricList")
+ .internal()
+ .doc("Configures a list of custom metrics on Structured Streaming UI,
which are enabled. " +
+ "The list contains the name of the custom metrics separated by comma.
In aggregation" +
+ "only sum used.")
+ .version("3.1.0")
+ .stringConf
+ .toSequence
+ .createWithDefault(Nil)
Review comment:
The main reason was that these are full custom so any default is hard to
come up with.
If anybody thinks we can add defaults, please add comments and name them.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]