SpanContextInterface
in
Tags
Table of Contents
Methods
- create() : SpanContextInterface
- createFromRemoteParent() : SpanContextInterface
- getInvalid() : SpanContextInterface
- getSpanId() : string
- getSpanIdBinary() : string
- getTraceFlags() : int
- getTraceId() : string
- getTraceIdBinary() : string
- getTraceState() : TraceStateInterface|null
- isRemote() : bool
- isSampled() : bool
- isValid() : bool
Methods
create()
public
static create(string $traceId, string $spanId[, int $traceFlags = TraceFlags::DEFAULT ][, TraceStateInterface|null $traceState = null ]) : SpanContextInterface
Parameters
- $traceId : string
- $spanId : string
- $traceFlags : int = TraceFlags::DEFAULT
- $traceState : TraceStateInterface|null = null
Return values
SpanContextInterfacecreateFromRemoteParent()
public
static createFromRemoteParent(string $traceId, string $spanId[, int $traceFlags = TraceFlags::DEFAULT ][, TraceStateInterface|null $traceState = null ]) : SpanContextInterface
Parameters
- $traceId : string
- $spanId : string
- $traceFlags : int = TraceFlags::DEFAULT
- $traceState : TraceStateInterface|null = null
Return values
SpanContextInterfacegetInvalid()
public
static getInvalid() : SpanContextInterface
Return values
SpanContextInterfacegetSpanId()
public
getSpanId() : string
Tags
Return values
stringgetSpanIdBinary()
public
getSpanIdBinary() : string
Return values
stringgetTraceFlags()
public
getTraceFlags() : int
Return values
intgetTraceId()
public
getTraceId() : string
Tags
Return values
stringgetTraceIdBinary()
public
getTraceIdBinary() : string
Return values
stringgetTraceState()
public
getTraceState() : TraceStateInterface|null
Return values
TraceStateInterface|nullisRemote()
public
isRemote() : bool
Return values
boolisSampled()
public
isSampled() : bool
Return values
boolisValid()
public
isValid() : bool