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

Breadcrumb

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

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

TracerInterface

Namespace

OpenTelemetry\API\Trace

Code

public function isEnabled() : bool;

API Navigation

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