SpanData

org.typelevel.otel4s.sdk.trace.data.SpanData
See theSpanData companion trait
object SpanData

Attributes

Companion
trait
Source
SpanData.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
SpanData.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(name: String, spanContext: SpanContext, parentSpanContext: Option[SpanContext], kind: SpanKind, startTimestamp: FiniteDuration, endTimestamp: Option[FiniteDuration], status: StatusData, attributes: Attributes, events: Vector[EventData], links: Vector[LinkData], instrumentationScope: InstrumentationScope, resource: TelemetryResource): SpanData

Creates SpanData with the given arguments.

Creates SpanData with the given arguments.

Value parameters

attributes

the attributes associated with the span

endTimestamp

the end timestamp of the span. Use None is the span hasn't ended yet

events

the events associated with the span

instrumentationScope

the instrumentation scope associated with the span

kind

the kind of the span

links

the links associated with the span

name

the name of the span

parentSpanContext

an optional parent span context. Use None if there is no parent span context

resource

the resource associated with the span

spanContext

the span context associated with the span

startTimestamp

the start timestamp of the span

status

the status data of the span

Attributes

Source
SpanData.scala

Implicits

Implicits

implicit val spanDataHash: Hash[SpanData]

Attributes

Source
SpanData.scala
implicit val spanDataShow: Show[SpanData]

Attributes

Source
SpanData.scala