rdhabalia edited a comment on issue #2130: Add function metrics with function-stats to get metrics on-demand URL: https://github.com/apache/incubator-pulsar/pull/2130#issuecomment-405059724 @merlimat test is fixed after rebase. @jerrypeng as per discussion #2128 it, provides function stats with metrics. ``` { "functionStatusList": [ { "running": true, "numProcessed": "5", "numSuccessfullyProcessed": "5", "averageLatency": 0.009584426879882812, "lastInvocationTime": "1531532839000", "instanceId": "0", "metrics": { "metrics": { "__total_serialization_exceptions__": {}, "__total_processed__": { "count": 4.0, "sum": 4.0, "max": 4.0 }, "__total_successfully_processed__": { "count": 4.0, "sum": 4.0, "max": 4.0 }, "__total_user_exceptions__": {}, "__total_system_exceptions__": {}, "__avg_latency_ms__": { "count": 0.008702278137207031, "sum": 0.008702278137207031, "max": 0.008702278137207031 } } } } ] } ```
---------------------------------------------------------------- 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
