diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2018-09-17 12:00:37 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2018-09-17 12:00:42 +0200 |
commit | 92876faf942e65eeece30fd9ab89f70759b79dab (patch) | |
tree | ba59ff4a4ee987a571f21e13d99214281535456d /kamon-core/src/main/scala | |
parent | 12d032dec55fbc65fb9db40e181a153f08639cf2 (diff) | |
download | Kamon-92876faf942e65eeece30fd9ab89f70759b79dab.tar.gz Kamon-92876faf942e65eeece30fd9ab89f70759b79dab.tar.bz2 Kamon-92876faf942e65eeece30fd9ab89f70759b79dab.zip |
create HTTP server metrics tests
Diffstat (limited to 'kamon-core/src/main/scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/instrumentation/HttpServer.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kamon-core/src/main/scala/kamon/instrumentation/HttpServer.scala b/kamon-core/src/main/scala/kamon/instrumentation/HttpServer.scala index 915118af..3cb45619 100644 --- a/kamon-core/src/main/scala/kamon/instrumentation/HttpServer.scala +++ b/kamon-core/src/main/scala/kamon/instrumentation/HttpServer.scala @@ -309,6 +309,7 @@ object HttpServer { override def doneSending(sentBytes: Long): Unit = { _metrics.foreach { httpServerMetrics => + httpServerMetrics.activeRequests.decrement() httpServerMetrics.responseSize.record(sentBytes) } |