class Tracer extends AnyRef
A Tracer assists on the creation of Spans and temporarily holds finished Spans until they are flushed to the available reporters.
- Alphabetic
- By Inheritance
- Tracer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Tracer(initialConfig: Config, clock: Clock, contextStorage: ContextStorage, scheduler: ScheduledExecutorService)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def identifierScheme: Scheme
Returns the Identifier Scheme currently used by the tracer.
- 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.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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.
- def reconfigure(newConfig: Config): Unit
Applies a new configuration to the tracer and its related components.
- 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.
- def spanBuilder(initialOperationName: String): SpanBuilder
Creates a new raw SpanBuilder instance using the provided operation name.
- def spans(): Seq[Finished]
Removes and returns all finished Spans currently held by the tracer.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()