diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-04-26 20:09:40 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-04-26 20:09:40 +0200 |
commit | 7fe930720e55b0c5e05db8e4128053e08dad228a (patch) | |
tree | 2f7a27c6183a2434d229551331957e4d506d788b /kamon-spray | |
parent | 7f1d880aa0672608503874d7edca0426c761afe1 (diff) | |
download | Kamon-7fe930720e55b0c5e05db8e4128053e08dad228a.tar.gz Kamon-7fe930720e55b0c5e05db8e4128053e08dad228a.tar.bz2 Kamon-7fe930720e55b0c5e05db8e4128053e08dad228a.zip |
! spray: change the default trace name to UnnamedTrace.
Diffstat (limited to 'kamon-spray')
-rw-r--r-- | kamon-spray/src/main/scala/kamon/spray/SprayExtension.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-spray/src/main/scala/kamon/spray/SprayExtension.scala b/kamon-spray/src/main/scala/kamon/spray/SprayExtension.scala index a5aa33cb..37e12702 100644 --- a/kamon-spray/src/main/scala/kamon/spray/SprayExtension.scala +++ b/kamon-spray/src/main/scala/kamon/spray/SprayExtension.scala @@ -77,7 +77,7 @@ class DefaultSprayNameGenerator extends SprayNameGenerator { hostFromHeaders(request).getOrElse("unknown-host") def generateTraceName(request: HttpRequest): String = - request.method.value + ": " + request.uri.path + "UnnamedTrace" private def hostFromHeaders(request: HttpRequest): Option[String] = request.header[Host].map(_.host) |