SpanDataInterface
in
Represents an immutable snapshot of a {@see API\SpanInterface}.
Tags
Table of Contents
Methods
- getAttributes() : AttributesInterface
- getContext() : SpanContextInterface
- getEndEpochNanos() : int
- getEvents() : array<int, EventInterface>
- getInstrumentationScope() : InstrumentationScopeInterface
- getKind() : int
- getLinks() : array<int, LinkInterface>
- getName() : string
- getParentContext() : SpanContextInterface
- getParentSpanId() : string
- getResource() : ResourceInfo
- getSpanId() : string
- getStartEpochNanos() : int
- getStatus() : StatusDataInterface
- getTotalDroppedEvents() : int
- getTotalDroppedLinks() : int
- getTraceId() : string
- hasEnded() : bool
Methods
getAttributes()
public
getAttributes() : AttributesInterface
Return values
AttributesInterfacegetContext()
public
getContext() : SpanContextInterface
Return values
SpanContextInterfacegetEndEpochNanos()
public
getEndEpochNanos() : int
Return values
intgetEvents()
public
getEvents() : array<int, EventInterface>
Return values
array<int, EventInterface>getInstrumentationScope()
public
getInstrumentationScope() : InstrumentationScopeInterface
Return values
InstrumentationScopeInterfacegetKind()
public
getKind() : int
Return values
intgetLinks()
public
getLinks() : array<int, LinkInterface>
Return values
array<int, LinkInterface>getName()
public
getName() : string
Return values
stringgetParentContext()
public
getParentContext() : SpanContextInterface
Return values
SpanContextInterfacegetParentSpanId()
public
getParentSpanId() : string
Return values
stringgetResource()
public
getResource() : ResourceInfo
Return values
ResourceInfogetSpanId()
public
getSpanId() : string
Return values
stringgetStartEpochNanos()
public
getStartEpochNanos() : int
Return values
intgetStatus()
public
getStatus() : StatusDataInterface
Return values
StatusDataInterfacegetTotalDroppedEvents()
public
getTotalDroppedEvents() : int
Tags
Return values
intgetTotalDroppedLinks()
public
getTotalDroppedLinks() : int
Tags
Return values
intgetTraceId()
public
getTraceId() : string
Return values
stringhasEnded()
public
hasEnded() : bool