Trait

kamon

Tracing

Related Doc: package kamon

Permalink

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. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clientSpanBuilder(operationName: String, component: String): SpanBuilder

    Permalink

    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

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def identifierScheme: Scheme

    Permalink

    Returns the Identifier Scheme currently used by the tracer.

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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def producerSpanBuilder(operationName: String, component: String): SpanBuilder

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

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

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def tracer(): Tracer

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped