NoopTracer
in package
implements
TracerInterface
FinalYes
Table of Contents
Interfaces
Properties
- $instance : self|null
Methods
- getInstance() : self
- isEnabled() : bool
- Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to creating a new span.
- spanBuilder() : SpanBuilderInterface
Properties
$instance
private
static self|null
$instance
= null
Methods
getInstance()
public
static getInstance() : self
Return values
selfisEnabled()
Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to creating a new span.
public
isEnabled() : bool
Return values
boolspanBuilder()
public
spanBuilder(string $spanName) : SpanBuilderInterface
Parameters
- $spanName : string