Packages

t

kamon

Tracing

trait Tracing extends AnyRef

Exposes the Tracing APIs using a built-in, globally shared tracer.

Self Type
Tracing with Configuration with Utilities with ContextStorage
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tracing
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clientSpanBuilder(operationName: String, component: String): SpanBuilder

    Creates a new SpanBuilder for a Client Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for a Client Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def consumerSpanBuilder(operationName: String, component: String): SpanBuilder

    Creates a new SpanBuilder for a Consumer Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for a Consumer Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def identifierScheme: Scheme

    Returns the Identifier Scheme currently used by the tracer.

  14. def internalSpanBuilder(operationName: String, component: String): SpanBuilder

    Creates a new SpanBuilder for an Internal Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for an Internal Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def producerSpanBuilder(operationName: String, component: String): SpanBuilder

    Creates a new SpanBuilder for a Producer Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for a Producer Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

  20. def serverSpanBuilder(operationName: String, component: String): SpanBuilder

    Creates a new SpanBuilder for a Server Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for a Server Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

  21. def span[A](operationName: String, component: String)(f: => A): A

    Creates an Internal Span that finishes automatically when the provided function finishes execution.

    Creates an Internal Span that finishes automatically when the provided function finishes execution. If the provided function returns a scala.concurrent.Future or java.util.concurrent.CompletionStage implementation then the Span will be finished with the Future/CompletionState completes.

    You can get access to the created Span within the provided function using Kamon.currentSpan. For example, if you wanted to add a tag to a Span created with this function you could do it as follows:

    span("fetchUserDetails") { Kamon.currentSpan.tag("user.id", userId)

    // Your business logic... }

    If you need more customization options for the Span or complete control over Context propagation and Span lifecycle then create a SpanBuilder instead.

  22. def span[A](operationName: String)(f: => A): A

    Creates an Internal Span that finishes automatically when the provided function finishes execution.

    Creates an Internal Span that finishes automatically when the provided function finishes execution. If the provided function returns a scala.concurrent.Future or java.util.concurrent.CompletionStage implementation then the Span will be finished with the Future/CompletionState completes.

    You can get access to the created Span within the provided function using Kamon.currentSpan. For example, if you wanted to add a tag to a Span created with this function you could do it as follows:

    span("fetchUserDetails") { Kamon.currentSpan.tag("user.id", userId)

    // Your business logic... }

    If you need more customization options for the Span or complete control over Context propagation and Span lifecycle then create a SpanBuilder instead.

  23. def spanBuilder(operationName: String): SpanBuilder

    Creates a new raw SpanBuilder instance using the provided operation name.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def tracer(): Tracer

    The Tracer instance is only exposed to other Kamon components that need it like the Module Registry and Status

    The Tracer instance is only exposed to other Kamon components that need it like the Module Registry and Status

    Attributes
    protected
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped