cckellogg opened a new issue #2216: function status list json returns strings 
for counts and timestamp
URL: https://github.com/apache/incubator-pulsar/issues/2216
 
 
   #### Expected behavior
   
   The function status fields numProcessed, numSuccessfullyProcessed, and 
lastInvocationTime should be longs instead of strings.
   
   #### Actual behavior
   
   {
     "functionStatusList": [
       {
         "running": true,
         "numProcessed": "148770",
         "numSuccessfullyProcessed": "148770",
         "lastInvocationTime": "1532301574265",
         "instanceId": "0",
         "metrics": {
           "metrics": {
             "__total_processed__": {
               "count": 3007.0,
               "sum": 3007.0,
               "max": 3007.0
             },
             "__total_successfully_processed__": {
               "count": 3007.0,
               "sum": 3007.0,
               "max": 3007.0
             },
             "__total_system_exceptions__": {},
             "__total_user_exceptions__": {},
             "__total_serialization_exceptions__": {},
             "__avg_latency_ms__": {}
           }
         },
         "workerId": "c-standalone-fw-localhost-6750"
       }
     ]
   }
   
   #### Steps to reproduce
   
   deploy a function then curl
   
   http://localhost:8080/admin/v2/functions/tenant/ns/my-func/status
   
   

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

Reply via email to