BufferingSpanReporter

class BufferingSpanReporter extends SpanReporter

A SpanReporter that buffers all reported Spans and exposes them.

trait SpanReporter
trait Module
class Object
trait Matchable
class Any

Value members

Concrete methods

def clear(): Unit

Discards all received Spans.

Discards all received Spans.

def nextSpan(): Option[Finished]

Returns and discards the latest received Span, if any.

Returns and discards the latest received Span, if any.

override def reconfigure(config: Config): Unit
Definition Classes
Module
override def reportSpans(spans: Seq[Finished]): Unit
Definition Classes
SpanReporter
def spans(): Seq[Finished]

Returns all remaining Spans in the buffer.

Returns all remaining Spans in the buffer.

def spans(delay: Duration): Seq[Finished]

Returns all remaining Spans in the buffer after waiting for the provided delay.

Returns all remaining Spans in the buffer after waiting for the provided delay.

def spans(delay: Duration): Seq[Finished]

Returns all remaining Spans in the buffer after waiting for the provided delay.

Returns all remaining Spans in the buffer after waiting for the provided delay.

override def stop(): Unit
Definition Classes
Module