You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ma...@apache.org on 2017/11/13 16:12:07 UTC

[incubator-openwhisk] branch master updated: Emit an additional counter metric for HTTP service. (#2946)

This is an automated email from the ASF dual-hosted git repository.

markusthoemmes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new b1a46ab  Emit an additional counter metric for HTTP service. (#2946)
b1a46ab is described below

commit b1a46ab8bc237eca70b3462e335223d45f487800
Author: Vadim Raskin <ra...@gmail.com>
AuthorDate: Mon Nov 13 17:12:05 2017 +0100

    Emit an additional counter metric for HTTP service. (#2946)
---
 common/scala/src/main/scala/whisk/http/BasicHttpService.scala | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/scala/src/main/scala/whisk/http/BasicHttpService.scala b/common/scala/src/main/scala/whisk/http/BasicHttpService.scala
index 33d6295..9f75d63 100644
--- a/common/scala/src/main/scala/whisk/http/BasicHttpService.scala
+++ b/common/scala/src/main/scala/whisk/http/BasicHttpService.scala
@@ -124,6 +124,7 @@ trait BasicHttpService extends Directives with TransactionCounter {
 
       if (TransactionId.metricsKamon) {
         MetricEmitter.emitHistogramMetric(token, tid.deltaToStart)
+        MetricEmitter.emitCounterMetric(token)
       }
       if (TransactionId.metricsLog) {
         Some(LogEntry(s"[$tid] [$name] $marker", l))

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].