object Span
- Alphabetic
- By Inheritance
- Span
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
class
Delayed extends Span
A Span representing an operation that will not start processing immediately after the Span is created but rather when the start method is called.
A Span representing an operation that will not start processing immediately after the Span is created but rather when the start method is called. Additionally to a regular Span, a Delayed Span will automatically track the wait time metric and add a "span.started" mark on the Span when the Start method is called. The three relevant instants when working with Delayed Spans are:
Created |=====================| <- Wait Time |====================================================| <- Elapsed Time |==============================| <- Processing Time Started Finished
Unless metrics tracking is disabled, a Delayed Span will track the "span.wait-time" metric with the time between creating and starting the Span, and the "span.elapsed-time" tracking the time between creating and finishing the Span. The "span.processing-time" remains the same, tracking the time between starting and finishing the Span.
-
case class
Finished(id: Identifier, trace: Trace, parentId: Identifier, operationName: String, hasError: Boolean, wasDelayed: Boolean, from: Instant, to: Instant, kind: Kind, position: Position, tags: TagSet, metricTags: TagSet, marks: Seq[Mark], links: Seq[Link]) extends Product with Serializable
Represents a Span that has already been finished and should be exposed to the SpanReporters.
-
sealed abstract
class
Kind extends AnyRef
Describes the kind of operation being represented by a Span.
-
case class
Link(kind: Link.Kind, trace: Trace, spanId: Identifier) extends Product with Serializable
Represents a connection between two different Spans that might belong to different traces.
-
final
class
Local extends Delayed
A writable Span created on this process and implementing all the capabilities defined by the Span interface.
-
case class
Mark(instant: Instant, key: String) extends Product with Serializable
Represents an event that happens at a given instant and is related to a Span.
Represents an event that happens at a given instant and is related to a Span. The key is a unique identifier of the type of event being associated.
-
sealed abstract
class
Position extends AnyRef
Describes a Span's position within the trace they belong to.
-
final
case class
Remote(id: Identifier, parentId: Identifier, trace: Trace) extends Span with Product with Serializable
A immutable, no-op Span that holds information from a Span that was initially created in another process and then transferred to this process.
A immutable, no-op Span that holds information from a Span that was initially created in another process and then transferred to this process. This is the minimal representation of a Span that gets transferred through Context propagation channels. A remote Span completely ignores all writes made to it.
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
-
val
Key: Key[Span]
Key used to store and retrieve Span instances from the Context
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
Empty extends Span
A immutable, no-op Span that can be used to signal that there is no Span information.
A immutable, no-op Span that can be used to signal that there is no Span information. An empty Span completely ignores all writes made to it.
- object Kind
- object Link extends Serializable
- object Local
- object MarkKeys
-
object
Metrics
Metrics tracked by the Span implementation.
- object Position
-
object
TagKeys
Tag keys used by the implementations to record Span and metric tags.