diff options
author | Ivan Topolnak <itopolnak@despegar.com> | 2014-01-27 19:09:40 -0300 |
---|---|---|
committer | Ivan Topolnak <itopolnak@despegar.com> | 2014-01-27 19:09:40 -0300 |
commit | b6ea0a93e6be8e1f355f1bc993618d178d0c9372 (patch) | |
tree | a7d03a385e13df146df871f2a66c8f70eed8bc84 /kamon-spray/src/main/scala/spray/can | |
parent | 003af1dd8ef1e3b4a8f1a9eff56a3c15c01cb2a9 (diff) | |
download | Kamon-b6ea0a93e6be8e1f355f1bc993618d178d0c9372.tar.gz Kamon-b6ea0a93e6be8e1f355f1bc993618d178d0c9372.tar.bz2 Kamon-b6ea0a93e6be8e1f355f1bc993618d178d0c9372.zip |
first implementation of a universal metrics repository for any kind of metrics we might be interested in
Diffstat (limited to 'kamon-spray/src/main/scala/spray/can')
-rw-r--r-- | kamon-spray/src/main/scala/spray/can/server/ServerRequestTracing.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-spray/src/main/scala/spray/can/server/ServerRequestTracing.scala b/kamon-spray/src/main/scala/spray/can/server/ServerRequestTracing.scala index a7d48ac8..f0e52d12 100644 --- a/kamon-spray/src/main/scala/spray/can/server/ServerRequestTracing.scala +++ b/kamon-spray/src/main/scala/spray/can/server/ServerRequestTracing.scala @@ -39,7 +39,7 @@ class ServerRequestTracing { val system: ActorSystem = openRequest.asInstanceOf[OpenRequest].context.actorContext.system val config = system.settings.config.getConfig("kamon.spray") - val token = if(config.getBoolean("include-trace-token-header")) { + val token = if (config.getBoolean("include-trace-token-header")) { val traceTokenHeader = config.getString("trace-token-header-name") request.headers.find(_.name == traceTokenHeader).map(_.value) } else None |