abstract class TracerSpecific extends AnyRef
Tracer-specific methods not exposed by OpenTracing API.
- Alphabetic
- By Inheritance
- TracerSpecific
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TracerSpecific()
Abstract Value Members
- abstract def isDebug(context: SpanContext): Boolean
Check whether a span context is in debug mode (force sampled).
Check whether a span context is in debug mode (force sampled).
- context
the SpanContext to check for debug
- returns
whether the context is in debug mode
- abstract def isSampled(context: SpanContext): Boolean
Check whether a span context is sampled.
Check whether a span context is sampled.
- context
the SpanContext to check for sampling
- returns
whether the context is sampled
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 activateScope(scopeManager: ScopeManager, span: Span, scope: Scope): Unit
Called when Cinnamon activates the scope.
Called when Cinnamon activates the scope. It's primarily used for better Datadog tracer integration to notify it to capture currently activate context. For each call to this method Cinnamon calls deactivateScope when it's about to deactivate the scope.
- scopeManager
- a scope manager
- span
- an activated span
- scope
- an activated scope
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def deactivateScope(span: Span, scope: Scope): Unit
Called when Cinnamon deactivates the scope.
Called when Cinnamon deactivates the scope. See activateScope. Cinnamon can call activate method multiple time and it will call this method as many times. Note, that implementation should count nested scopes to run necessary deactivation action only when the most outer scope is deactivated.
- span
- an activated span
- scope
- an activated scope
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getTraceId(context: SpanContext): String
Get the trace id string for a span context.
Get the trace id string for a span context.
- context
the SpanContext
- returns
the trace id as a string
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpanContextCreated(spanContext: SpanContext): SpanContext
Called when a new SpanContext is created.
Called when a new SpanContext is created.
NOTE: currently it's only called by Jaeger tracer to plug-in AWS X-Ray ID support.
- spanContext
- new SpanContext
- returns
changed or original spanContext
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def spansEqual(span1: Span, span2: Span): Boolean
Compare whether the spans equal.
Compare whether the spans equal.
- span1
- a span
- span2
- another span
- returns
true if the spans equal, otherwise false
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
This is the public API for Cinnamon.
The com.lightbend.cinnamon package contains the public Cinnamon API.
See the complete list of Cinnamon packages on the right.
Cinnamon Events and Metrics
For the custom events API see
CinnamonEvents
.For the custom metrics API see
CinnamonMetrics
.Stopwatch
For the Stopwatch API see
Stopwatch
.Coda Hale Metrics
For creating custom Coda Hale Metrics reporters see the com.lightbend.cinnamon.chmetrics.reporter package.