You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/10/21 04:36:24 UTC

[GitHub] [openwhisk] chetanmeh opened a new issue #4696: Handle ConcurrentInvocations in User Event Service

chetanmeh opened a new issue #4696: Handle ConcurrentInvocations in User Event Service
URL: https://github.com/apache/openwhisk/issues/4696
 
 
   User Event service currently handles the `ConcurrentRateLimit` and `TimedRateLimit` as simple counter but does not handle the `ConcurrentInvocations` which is more like a Gauge
   
   We should add support for handling `ConcurrentInvocations` also. Each time any invocation starts an event is emitted which captures the current concurrent invocation count for namespace of the initiating user
   
   ```json
   {
      "body": {
         "metricName": "ConcurrentInvocations",
         "metricValue": 1
      },
      "eventType": "Metric",
      "namespace": "guest",
      "source": "controllerstandalone",
      "subject": "guest",
      "timestamp": 1571631891304,
      "userId": "23bc46b1-71f6-4ed5-8c54-816aa4f8c502"
   }
   ```
   This count reflects the current concurrent invocation count for that controller. So to reflect the cluster wide concurrent activation count for given action we would need to maintain per cluster count and sum it up and then reflect that in metrics as a gauge

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services