function TracerInterface::isEnabled
Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to creating a new span. @experimental
2 methods override TracerInterface::isEnabled()
- LateBindingTracer::isEnabled in vendor/
open-telemetry/ api/ Trace/ LateBindingTracer.php - Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to creating a new span. @experimental
- NoopTracer::isEnabled in vendor/
open-telemetry/ api/ Trace/ NoopTracer.php - Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to creating a new span. @experimental
File
-
vendor/
open-telemetry/ api/ Trace/ TracerInterface.php, line 17
Class
Namespace
OpenTelemetry\API\TraceCode
public function isEnabled() : bool;