Inspector

kamon.testkit.SpanInspection.Inspector
class Inspector(span: Span)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def isFailed(): Boolean

Returns true if the Span has been marked as failed.

Returns true if the Span has been marked as failed.

Attributes

def isTrackingMetrics(): Boolean

Returns true if the Span is set to track metrics once it is finished.

Returns true if the Span is set to track metrics once it is finished.

Attributes

def marks(): Seq[Mark]

Returns all marks on the Span.

Returns all marks on the Span.

Attributes

def metricTags(): TagSet

Returns a TagSet with all Span metric tags added to the Span and the additional tags that are added by default like the "error", "operation" and possibly "parentOperation" tags.

Returns a TagSet with all Span metric tags added to the Span and the additional tags that are added by default like the "error", "operation" and possibly "parentOperation" tags.

Attributes

def spanTags(): TagSet

Returns a TagSet with all Span tags added on the Span.

Returns a TagSet with all Span tags added on the Span.

Attributes

def tags(): TagSet

Returns a combination of all tags (span and metric tags) on the Span.

Returns a combination of all tags (span and metric tags) on the Span.

Attributes

def toFinished(): Finished

Returns the Span.Finished instance that would be sent to the SpanReporters if the Span's trace is sampled.

Returns the Span.Finished instance that would be sent to the SpanReporters if the Span's trace is sampled.

Attributes

def toFinished(at: Instant): Finished

Returns the Span.Finished instance that would be sent to the SpanReporters if the Span's trace is sampled.

Returns the Span.Finished instance that would be sent to the SpanReporters if the Span's trace is sampled.

Attributes