SimpleSpanProcessor

org.typelevel.otel4s.sdk.trace.processor.SimpleSpanProcessor
See theSimpleSpanProcessor companion class

Attributes

Companion
class
Source
SimpleSpanProcessor.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[F[_] : Console](exporter: SpanExporter[F]): SimpleSpanProcessor[F]

Creates a SimpleSpanProcessor that passes only sampled ended spans to the given exporter.

Creates a SimpleSpanProcessor that passes only sampled ended spans to the given exporter.

Value parameters

exporter

the SpanExporter to use

Attributes

Source
SimpleSpanProcessor.scala
def apply[F[_] : Console](exporter: SpanExporter[F], exportOnlySampled: Boolean): SimpleSpanProcessor[F]

Creates a SimpleSpanProcessor that passes ended spans to the given exporter.

Creates a SimpleSpanProcessor that passes ended spans to the given exporter.

Value parameters

exportOnlySampled

whether to export only sampled spans

exporter

the SpanExporter to use

Attributes

Source
SimpleSpanProcessor.scala