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

Breadcrumb

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

function AlwaysOffSampler::getDescription

Overrides SamplerInterface::getDescription

File

vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOffSampler.php, line 46

Class

AlwaysOffSampler
This implementation of the SamplerInterface always skips record. Example: ``` use OpenTelemetry\Sdk\Trace\AlwaysOffSampler; $sampler = new AlwaysOffSampler(); ```

Namespace

OpenTelemetry\SDK\Trace\Sampler

Code

public function getDescription() : string {
    return 'AlwaysOffSampler';
}

API Navigation

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