Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TracerInterface.php

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\Trace
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal