OpenTelemetry PHP

NoopTracer
in package
implements TracerInterface

FinalYes

Table of Contents

Interfaces

TracerInterface

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
self

isEnabled()

Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to creating a new span.

public isEnabled() : bool
Return values
bool

        
On this page

Search results