OpenTelemetry PHP

Tracer
in package
implements TracerInterface

Table of Contents

Interfaces

TracerInterface

Constants

FALLBACK_SPAN_NAME  = 'empty'

Properties

$config  : Config
$instrumentationScope  : InstrumentationScopeInterface
$tracerSharedState  : TracerSharedState

Methods

__construct()  : mixed
getInstrumentationScope()  : InstrumentationScopeInterface
isEnabled()  : bool
Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to creating a new span.
spanBuilder()  : SpanBuilderInterface
updateConfig()  : void

Constants

FALLBACK_SPAN_NAME

public mixed FALLBACK_SPAN_NAME = 'empty'

Properties

Methods

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