vvraskin commented on a change in pull request #2960: Reduce the number of logs
on info level
URL:
https://github.com/apache/incubator-openwhisk/pull/2960#discussion_r163176967
##########
File path:
core/controller/src/main/scala/whisk/core/entitlement/ActivationThrottler.scala
##########
@@ -48,7 +48,7 @@ class ActivationThrottler(loadBalancer: LoadBalancer,
defaultConcurrencyLimit: I
def check(user: Identity)(implicit tid: TransactionId): Future[RateLimit] = {
loadBalancer.activeActivationsFor(user.uuid).map { concurrentActivations =>
val concurrencyLimit =
user.limits.concurrentInvocations.getOrElse(defaultConcurrencyLimit)
- logging.info(
+ logging.debug(
Review comment:
We can create an additional metric to emit per namespace if a user exceeds
its quota. As well as an info level message in case of quota exceed.
----------------------------------------------------------------
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