org.typelevel.otel4s.sdk.trace.processor

Members list

Type members

Classlikes

final class BatchSpanProcessor[F[_]] extends SpanProcessor[F]

Implementation of the SpanProcessor that batches spans exported by the SDK then pushes them to the exporter pipeline.

Implementation of the SpanProcessor that batches spans exported by the SDK then pushes them to the exporter pipeline.

All spans reported by the SDK implementation are first added to a queue. If the queue is full (with a config.maxQueueSize maximum size), the incoming spans are dropped.

Spans are exported either when there are config.maxExportBatchSize pending spans or config.scheduleDelay has passed since the last export attempt.

Type parameters

F

the higher-kinded type of a polymorphic effect

Attributes

See also
Companion
object
Source
BatchSpanProcessor.scala
Supertypes
trait SpanProcessor[F]
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
BatchSpanProcessor.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class SimpleSpanProcessor[F[_]] extends SpanProcessor[F]

An implementation of the SpanProcessor that passes ended SpanData directly to the configured exporter.

An implementation of the SpanProcessor that passes ended SpanData directly to the configured exporter.

Type parameters

F

the higher-kinded type of a polymorphic effect

Attributes

See also
Note

this processor exports spans individually upon completion, resulting in a single span per export request.

Companion
object
Source
SimpleSpanProcessor.scala
Supertypes
trait SpanProcessor[F]
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
SimpleSpanProcessor.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait SpanProcessor[F[_]]

The interface that tracer uses to invoke hooks when a span is started or ended.

The interface that tracer uses to invoke hooks when a span is started or ended.

Type parameters

F

the higher-kinded type of a polymorphic effect

Attributes

See also
Companion
object
Source
SpanProcessor.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SpanProcessor

Attributes

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