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/09/13 18:48:14 UTC

[GitHub] [openwhisk] tysonnorris commented on a change in pull request #4625: emit additional metrics about invoker ContainerPool

tysonnorris commented on a change in pull request #4625: emit additional metrics about invoker ContainerPool
URL: https://github.com/apache/openwhisk/pull/4625#discussion_r324322786
 
 

 ##########
 File path: core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/ContainerPool.scala
 ##########
 @@ -187,6 +192,7 @@ class ContainerPool(childFactory: ActorRefFactory => ActorRef,
                   s"userNamespace: ${r.msg.user.namespace.name}, action: ${r.action}, " +
                   s"needed memory: ${r.action.limits.memory.megabytes} MB, " +
                   s"waiting messages: ${runBuffer.size}")(r.msg.transid)
+              MetricEmitter.emitCounterMetric(LoggingMarkers.CONTAINER_POOL_RESCHEDULED_ACTIVATION)
 
 Review comment:
   Note that this will currently only emit once-per-log-timeout - so it will not be accurate; once #4593 is merged, this metric should be counted every message loop (since message processing should no longer be in a "tight" loop). 

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