OpenTelemetry PHP

TracerInterface

Table of Contents

Methods

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

Methods

isEnabled()

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

public isEnabled() : bool
Tags
experimental
Return values
bool

        
On this page

Search results