gaborgsomogyi edited a comment on pull request #30336:
URL: https://github.com/apache/spark/pull/30336#issuecomment-728969992


   > By the way, how can users know what is the name of custom metrics they can 
list?
   
   It's in the query progress info level log entry:
   ```
   20/11/17 15:36:06 INFO MicroBatchExecution: Streaming query made progress: {
   ...
     "stateOperators" : [ {
       "numRowsTotal" : 30,
       "numRowsUpdated" : 30,
       "memoryUsedBytes" : 13144,
       "numRowsDroppedByWatermark" : 0,
       "customMetrics" : {
         "loadedMapCacheHitCount" : 2,
         "loadedMapCacheMissCount" : 0,
         "stateOnCurrentVersionSizeBytes" : 6296
       }
     } ],
   ...
   ```
   


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