SpanProcessor

zio.blocks.telemetry.SpanProcessor
See theSpanProcessor companion object

Receives span lifecycle events from a Tracer.

Processors can export spans, buffer them, or perform in-memory inspection.

Attributes

Companion
object
Source
SpanProcessor.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def forceFlush(): Unit

Flushes any buffered span data.

Flushes any buffered span data.

Attributes

Source
SpanProcessor.scala
def onEnd(spanData: SpanData): Unit

Called when a span has ended and immutable span data is available.

Called when a span has ended and immutable span data is available.

Attributes

Source
SpanProcessor.scala
def onStart(span: Span): Unit

Called when a span is started.

Called when a span is started.

Attributes

Source
SpanProcessor.scala
def shutdown(): Unit

Shuts the processor down and releases any owned resources.

Shuts the processor down and releases any owned resources.

Attributes

Source
SpanProcessor.scala

Concrete methods

override def close(): Unit

Attributes

Definition Classes
Source
SpanProcessor.scala