diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2013-12-18 20:31:17 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2013-12-18 20:31:17 -0300 |
commit | 7db24589881cd1afdcc8259acd3ac046a8b6ba4a (patch) | |
tree | ae1117711519f87bbe497afd314af3dd978276a0 /kamon-trace/src/main/scala/kamon/trace/Segments.scala | |
parent | d9e987093a6a3b087fef6232831cc01cea4a6f24 (diff) | |
download | Kamon-7db24589881cd1afdcc8259acd3ac046a8b6ba4a.tar.gz Kamon-7db24589881cd1afdcc8259acd3ac046a8b6ba4a.tar.bz2 Kamon-7db24589881cd1afdcc8259acd3ac046a8b6ba4a.zip |
code formatting
Diffstat (limited to 'kamon-trace/src/main/scala/kamon/trace/Segments.scala')
-rw-r--r-- | kamon-trace/src/main/scala/kamon/trace/Segments.scala | 13 |
1 files changed, 5 insertions, 8 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] |