diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-10-31 03:07:52 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-10-31 03:07:52 +0100 |
commit | 508336438227fc89eb732565bd19cb254572e533 (patch) | |
tree | e0afc565c97fced3751bdadef554be4e19617e29 /kamon-spray/src/main/scala/kamon/spray | |
parent | 2c958ea86ded8a047af6450026ca7ec64a28bea1 (diff) | |
download | Kamon-508336438227fc89eb732565bd19cb254572e533.tar.gz Kamon-508336438227fc89eb732565bd19cb254572e533.tar.bz2 Kamon-508336438227fc89eb732565bd19cb254572e533.zip |
! spray: rename the default implementation of SprayNameGenerator
Diffstat (limited to 'kamon-spray/src/main/scala/kamon/spray')
-rw-r--r-- | kamon-spray/src/main/scala/kamon/spray/Spray.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-spray/src/main/scala/kamon/spray/Spray.scala b/kamon-spray/src/main/scala/kamon/spray/Spray.scala index 4a0fd74e..c1c81116 100644 --- a/kamon-spray/src/main/scala/kamon/spray/Spray.scala +++ b/kamon-spray/src/main/scala/kamon/spray/Spray.scala @@ -65,7 +65,7 @@ trait SprayNameGenerator { def generateHostLevelApiSegmentName(request: HttpRequest): String } -class SimpleSprayNameGenerator extends SprayNameGenerator { +class DefaultSprayNameGenerator extends SprayNameGenerator { def generateRequestLevelApiSegmentName(request: HttpRequest): String = request.method.value + ": " + request.uri.path def generateTraceName(request: HttpRequest): String = request.method.value + ": " + request.uri.path def generateHostLevelApiSegmentName(request: HttpRequest): String = request.uri.authority.host.address |