seobandoe opened a new pull request #30713:
URL: https://github.com/apache/spark/pull/30713


   This PR is to add the session configuration options additional to the 
metrics.properties document to enable the metrics exposition:
   
   ### What changes were proposed in this pull request?
   
   Add the .config() examples with session builder to facilitate the spark 
metrics use in addition to the metrics.properties example.
   
   ### Why are the changes needed?
   
   For testing purposes, sometimes is not easy to change the metrics.properties 
file to enable the metrics, for example when you are working with a scala app 
that is not running spark withing a cluster, but instead is using dependencies, 
there is not file metrics.properties.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   No
   


----------------------------------------------------------------
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]

Reply via email to