When running a pulsar function and triggering it via command line the metrics 
of the function are not updated correctly.

```
  "functionStatusList": [
    {
      "running": true,
      "instanceId": "0",
      "metrics": {
        "metrics": {
          "__total_system_exceptions__": {},
          "__avg_latency_ms__": {},
          "__total_serialization_exceptions__": {},
          "__total_processed__": {},
          "__total_successfully_processed__": {},
          "__total_user_exceptions__": {}
        }
      },
      "workerId": "pulsar-functions-worker-1"
    }
  ]
}
```

The expected behaviors is to have a 
numProcessed and numSuccessfullyProcessed json entry with the correct value


[ Full content available at: 
https://github.com/apache/incubator-pulsar/issues/2495 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to