SpanExporter

org.typelevel.otel4s.sdk.trace.exporter.SpanExporter
See theSpanExporter companion object
trait SpanExporter[F[_]]

An interface that allows different tracing services to export recorded data for sampled spans in their own format.

Type parameters

F

the higher-kinded type of a polymorphic effect

Attributes

See also
Companion
object
Source
SpanExporter.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def exportSpans[G[_] : Foldable](spans: G[SpanData]): F[Unit]

Called to export sampled SpanData.

Called to export sampled SpanData.

Value parameters

spans

the sampled spans to be exported

Attributes

Note

the export operations can be performed simultaneously depending on the type of span processor being used. However, the batch span processor will ensure that only one export can occur at a time.

Source
SpanExporter.scala
def flush: F[Unit]

Exports the collection of sampled SpanData that have not yet been exported.

Exports the collection of sampled SpanData that have not yet been exported.

Attributes

Note

the export operations can be performed simultaneously depending on the type of span processor being used. However, the batch span processor will ensure that only one export can occur at a time.

Source
SpanExporter.scala
def name: String

The name of the exporter.

The name of the exporter.

It will be used in an exception to distinguish individual failures in the multi-error scenario.

Attributes

See also
Source
SpanExporter.scala

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
SpanExporter.scala