markusthoemmes commented on a change in pull request #4023: Emit CosmosDB 
request usage metric
URL: 
https://github.com/apache/incubator-openwhisk/pull/4023#discussion_r218030966
 
 

 ##########
 File path: common/scala/src/main/scala/whisk/common/Logging.scala
 ##########
 @@ -212,14 +212,16 @@ object MetricEmitter {
 
   val metrics = Kamon.metrics
 
-  def emitCounterMetric(token: LogMarkerToken): Unit = {
+  def emitCounterMetric(token: LogMarkerToken): Unit = 
emitCounterMetric(token, 1)
+
+  def emitCounterMetric(token: LogMarkerToken, times: Long): Unit = {
 
 Review comment:
   Can this have a default value for `time` instead of overloading?

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