diff options
Diffstat (limited to 'kamon-spray/src/main/scala/kamon/spray/Spray.scala')
-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 |