abstract class RawZipkinTracer extends Tracer
Receives the Finagle generated traces and sends them off to Zipkin
- Alphabetic
- By Inheritance
- RawZipkinTracer
- Tracer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RawZipkinTracer(timer: Timer = DefaultTimer)
- timer
A Timer used for timing out spans in the DeadlineSpanMap
Concrete 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
- def annotate(record: Record, value: String): Unit
Add this record as a time based annotation.
Add this record as a time based annotation.
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def binaryAnnotation(record: Record, key: String, value: ByteBuffer, annotationType: AnnotationType): Unit
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- def flush(): Future[Unit]
- Attributes
- protected[finagle]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSampleRate: Float
What is the percentage of traces we're sampling? The sample rate is a float value between 0.0 and 1.0.
What is the percentage of traces we're sampling? The sample rate is a float value between 0.0 and 1.0. If sampling is decided based on factors other than the sampleRate, this value should NaN
- Definition Classes
- RawZipkinTracer → Tracer
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isActivelyTracing(traceId: TraceId): Boolean
Is this tracer actively tracing this traceId?
Is this tracer actively tracing this traceId?
Return: If TraceId.sampled == None sampleTrace() has not been called yet or the tracer still wants to receive traces but not make the decision for child services. In either case return true so that this tracer is still considered active for this traceId.
If TraceId.sampled == Some(decision) sampleTrace() has already been called, or a previous service has already made a decision whether to sample this trace or not. So respect that decision and return it.
- Definition Classes
- RawZipkinTracer → Tracer
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNull: Boolean
Indicates whether or not this tracer instance is NullTracer.
Indicates whether or not this tracer instance is NullTracer.
- Definition Classes
- Tracer
- def mutate(traceId: TraceId)(f: (MutableSpan) => Unit): Unit
Mutate the Span with whatever new info we have.
Mutate the Span with whatever new info we have. If we see an "end" annotation we remove the span and send it off.
- Attributes
- protected
- 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 record(record: Record): Unit
- Definition Classes
- RawZipkinTracer → Tracer
- def sampleTrace(traceId: TraceId): Option[Boolean]
Always sample the request.
Always sample the request.
- Definition Classes
- RawZipkinTracer → Tracer
- def setEndpoint(record: Record, ia: InetSocketAddress): Unit
Sets the endpoint in the span for any future annotations.
Sets the endpoint in the span for any future annotations. Also sets the endpoint in any previous annotations that lack one.
- Attributes
- protected
- 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()