interface TracerInterface
Hierarchy
- interface \OpenTelemetry\API\Trace\TracerInterface
Expanded class hierarchy of TracerInterface
All classes that implement TracerInterface
3 files declare their use of TracerInterface
- CachedInstrumentation.php in vendor/
open-telemetry/ api/ Instrumentation/ CachedInstrumentation.php - InstrumentationInterface.php in vendor/
open-telemetry/ api/ Instrumentation/ InstrumentationInterface.php - InstrumentationTrait.php in vendor/
open-telemetry/ api/ Instrumentation/ InstrumentationTrait.php
File
-
vendor/
open-telemetry/ api/ Trace/ TracerInterface.php, line 7
Namespace
OpenTelemetry\API\TraceView source
interface TracerInterface {
/** @param non-empty-string $spanName */
public function spanBuilder(string $spanName) : SpanBuilderInterface;
/**
* Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to
* creating a new span.
* @experimental
*/
public function isEnabled() : bool;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
TracerInterface::isEnabled | public | function | Determine if the tracer is enabled. Instrumentation authors SHOULD call this method prior to creating a new span. @experimental |
2 |
TracerInterface::spanBuilder | public | function | 2 |