EventData

org.typelevel.otel4s.sdk.trace.data.EventData
See theEventData companion trait
object EventData

Attributes

Companion
trait
Source
EventData.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
EventData.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, timestamp: FiniteDuration, attributes: Attributes): EventData

Creates EventData with the given arguments.

Creates EventData with the given arguments.

Value parameters

attributes

the attributes to associate with the event

name

the name of the event

timestamp

the timestamp of the event

Attributes

Source
EventData.scala
def fromException(timestamp: FiniteDuration, exception: Throwable, attributes: Attributes, escaped: Boolean): EventData

Creates EventData from the given exception.

Creates EventData from the given exception.

The name of the even will be exception.

Exception details (name, message, and stacktrace) will be added to the attributes.

Value parameters

attributes

the attributes to associate with the event

escaped

should be set to true if the exception is recorded at a point where it is known that the exception is escaping the scope of the span

exception

the exception to associate with the event

timestamp

the timestamp of the event

Attributes

Source
EventData.scala

Implicits

Implicits

implicit val eventDataHash: Hash[EventData]

Attributes

Source
EventData.scala
implicit val eventDataShow: Show[EventData]

Attributes

Source
EventData.scala