rdhabalia opened a new pull request #2352: Add worker specific system and jvm metrics URL: https://github.com/apache/incubator-pulsar/pull/2352 ### Motivation Adding worker system metrics, REST-CLI api to get system/jvm metrics. ### Result Admin can get worker metrics using cli command: ``` ./pulsar-admin functions-worker-stats monitoring-metrics -i [ { "metrics": { "fun_default_pool_allocated": 33554432, "fun_default_pool_used": 172032, "jvm_direct_memory_used": 33554432, "jvm_gc_old_count": 0, "jvm_gc_old_pause": 0, "jvm_gc_young_count": 0, "jvm_gc_young_pause": 0, "jvm_heap_used": 163529544, "jvm_max_direct_memory": 4294967296, "jvm_max_memory": 2147483648, "jvm_thread_cnt": 37, "jvm_total_memory": 2147483648 }, "dimensions": { "metric": "jvm_metrics" } } ] ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
