EricJoy2048 opened a new pull request, #4139:
URL: https://github.com/apache/incubator-seatunnel/pull/4139

   Add api to `SeaTunnelClient` to get the cluster metrics.
   
   The result like this:
   
   ```
   
   =====================================cluster 
metrics==================================================
   [localhost]:5801
   {"processors":"8"," physical.memory.total":"16.0G"," 
physical.memory.free":"27.2M"," swap.space.total":"6.0G"," 
swap.space.free":"834.0M"," heap.memory.used":"155.5M"," 
heap.memory.free":"796.0M"," heap.memory.total":"951.5M"," 
heap.memory.max":"3.6G"," heap.memory.used/total":"16.34%"," 
heap.memory.used/max":"4.27%"," minor.gc.count":"7"," minor.gc.time":"103ms"," 
major.gc.count":"2"," major.gc.time":"63ms"," load.process":"41.16%"," 
load.system":"58.89%"," load.systemAverage":"5.09"," thread.count":"162"," 
thread.peakCount":"162"," cluster.timeDiff":"0"," event.q.size":"0"," 
executor.q.async.size":"0"," executor.q.client.size":"0"," 
executor.q.client.query.size":"0"," executor.q.client.blocking.size":"0"," 
executor.q.query.size":"0"," executor.q.scheduled.size":"0"," 
executor.q.io.size":"0"," executor.q.system.size":"0"," 
executor.q.operations.size":"0"," executor.q.priorityOperation.size":"0"," 
operations.completed.count":"596"," executor.q.mapLoad.size":"0"," 
executor.q.mapLoa
 dAllKeys.size":"0"," executor.q.cluster.size":"0"," 
executor.q.response.size":"0"," operations.running.count":"0"," 
operations.pending.invocations.percentage":"0.00%"," 
operations.pending.invocations.count":"0"," proxy.count":"9"," 
clientEndpoint.count":"1"," connection.active.count":"0"," 
client.connection.count":"0"," connection.count":"0"}
   
================================================================================================
   [localhost]:5802
   {"processors":"8"," physical.memory.total":"16.0G"," 
physical.memory.free":"23.6M"," swap.space.total":"6.0G"," 
swap.space.free":"834.0M"," heap.memory.used":"174.0M"," 
heap.memory.free":"777.5M"," heap.memory.total":"951.5M"," 
heap.memory.max":"3.6G"," heap.memory.used/total":"18.29%"," 
heap.memory.used/max":"4.78%"," minor.gc.count":"7"," minor.gc.time":"103ms"," 
major.gc.count":"2"," major.gc.time":"63ms"," load.process":"48.56%"," 
load.system":"66.06%"," load.systemAverage":"5.09"," thread.count":"163"," 
thread.peakCount":"163"," cluster.timeDiff":"0"," event.q.size":"0"," 
executor.q.async.size":"0"," executor.q.client.size":"0"," 
executor.q.client.query.size":"0"," executor.q.client.blocking.size":"0"," 
executor.q.query.size":"0"," executor.q.scheduled.size":"0"," 
executor.q.io.size":"0"," executor.q.system.size":"0"," 
executor.q.operations.size":"0"," executor.q.priorityOperation.size":"0"," 
operations.completed.count":"687"," executor.q.mapLoad.size":"0"," 
executor.q.mapLoa
 dAllKeys.size":"0"," executor.q.cluster.size":"0"," 
executor.q.response.size":"0"," operations.running.count":"1"," 
operations.pending.invocations.percentage":"0.00%"," 
operations.pending.invocations.count":"0"," proxy.count":"9"," 
clientEndpoint.count":"1"," connection.active.count":"0"," 
client.connection.count":"0"," connection.count":"0"}
   
================================================================================================
   二月
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to