diff options
Diffstat (limited to 'kamon-core/src/main/scala/kamon/context/Mixin.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/context/Mixin.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kamon-core/src/main/scala/kamon/context/Mixin.scala b/kamon-core/src/main/scala/kamon/context/Mixin.scala index 64e03748..3445cc31 100644 --- a/kamon-core/src/main/scala/kamon/context/Mixin.scala +++ b/kamon-core/src/main/scala/kamon/context/Mixin.scala @@ -19,7 +19,7 @@ import kamon.Kamon /** - * Utility trait that marks objects carrying a reference to a Span. + * Utility trait that marks objects carrying a reference to a Context instance. * */ trait HasContext { @@ -30,14 +30,14 @@ object HasContext { private case class Default(context: Context) extends HasContext /** - * Construct a HasSpan instance that references the provided Span. + * Construct a HasSpan instance that references the provided Context. * */ def from(context: Context): HasContext = Default(context) /** - * Construct a HasSpan instance that references the currently ActiveSpan in Kamon's tracer. + * Construct a HasContext instance with the current Kamon from Kamon's default context storage. * */ def fromCurrentContext(): HasContext = |