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

Breadcrumb

  1. Drupal Core 11.1.x

TracerInterface.php

Namespace

OpenTelemetry\API\Trace

File

vendor/open-telemetry/api/Trace/TracerInterface.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Trace;

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;

}

Interfaces

Title Deprecated Summary
TracerInterface

API Navigation

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