You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/11 04:19:31 UTC
[GitHub] [spark] maropu commented on a change in pull request #30713: Update monitoring.md
maropu commented on a change in pull request #30713:
URL: https://github.com/apache/spark/pull/30713#discussion_r540679541
##########
File path: docs/monitoring.md
##########
@@ -1038,6 +1038,22 @@ This example shows a list of Spark configuration parameters for a Graphite sink:
"spark.metrics.conf.*.sink.graphite.prefix"="optional_prefix"
"spark.metrics.conf.*.sink.graphite.regex"="optional_regex_to_send_matching_metrics"
```
+Also it could be done under spark session like:
+```
+import org.apache.spark.sql.SparkSession
Review comment:
Why we need this example? You think it is difficult for users to know how to pass these parameter into Spark?
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org