OpenTelemetry PHP

TracerInterface

Implementations MUST be safe for concurrent use, for example from multiple fibers.

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
Return values
bool
On this page

Search results