diff options
Diffstat (limited to 'kamon-trace/src/main')
-rw-r--r-- | kamon-trace/src/main/scala/kamon/trace/Segments.scala | 13 | ||||
-rw-r--r-- | kamon-trace/src/main/scala/kamon/trace/UowTracing.scala | 1 |
2 files changed, 5 insertions, 9 deletions
diff --git a/kamon-trace/src/main/scala/kamon/trace/Segments.scala b/kamon-trace/src/main/scala/kamon/trace/Segments.scala index 7cc20181..0bc68ee7 100644 --- a/kamon-trace/src/main/scala/kamon/trace/Segments.scala +++ b/kamon-trace/src/main/scala/kamon/trace/Segments.scala @@ -19,19 +19,16 @@ package kamon.trace import kamon.trace.Trace.SegmentCompletionHandle object Segments { - + trait Category case object HttpClientRequest extends Category - - case class Start(category: Category, description: String = "", - attributes: Map[String, String] = Map(), timestamp: Long = System.nanoTime()) - - case class End(attributes: Map[String, String] = Map(), timestamp: Long = System.nanoTime()) - - case class Segment(start: Start, end: End) + case class Start(category: Category, description: String = "", + attributes: Map[String, String] = Map(), timestamp: Long = System.nanoTime()) + case class End(attributes: Map[String, String] = Map(), timestamp: Long = System.nanoTime()) + case class Segment(start: Start, end: End) trait SegmentCompletionHandleAware { var completionHandle: Option[SegmentCompletionHandle] diff --git a/kamon-trace/src/main/scala/kamon/trace/UowTracing.scala b/kamon-trace/src/main/scala/kamon/trace/UowTracing.scala index 7026569c..3d1a7778 100644 --- a/kamon-trace/src/main/scala/kamon/trace/UowTracing.scala +++ b/kamon-trace/src/main/scala/kamon/trace/UowTracing.scala @@ -19,7 +19,6 @@ import akka.actor._ import scala.concurrent.duration.Duration import kamon.trace.UowTracing._ - sealed trait UowSegment { def id: Long def timestamp: Long |