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

Breadcrumb

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

function SynchronousInstrumentTrait::isEnabled

1 call to SynchronousInstrumentTrait::isEnabled()
SynchronousInstrumentTrait::write in vendor/open-telemetry/sdk/Metrics/SynchronousInstrumentTrait.php

File

vendor/open-telemetry/sdk/Metrics/SynchronousInstrumentTrait.php, line 47

Class

SynchronousInstrumentTrait
@internal

Namespace

OpenTelemetry\SDK\Metrics

Code

public function isEnabled() : bool {
    return $this->writer
        ->enabled($this->instrument);
}

API Navigation

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