markusthoemmes closed pull request #2946: Emit an additional counter metric for
http service
URL: https://github.com/apache/incubator-openwhisk/pull/2946
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/common/scala/src/main/scala/whisk/http/BasicHttpService.scala
b/common/scala/src/main/scala/whisk/http/BasicHttpService.scala
index 33d62954d6..9f75d630d2 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))
----------------------------------------------------------------
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