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

Breadcrumb

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

function SamplerInterface::getDescription

Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"

4 methods override SamplerInterface::getDescription()
AlwaysOffSampler::getDescription in vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOffSampler.php
Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"
AlwaysOnSampler::getDescription in vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOnSampler.php
Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"
ParentBased::getDescription in vendor/open-telemetry/sdk/Trace/Sampler/ParentBased.php
Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"
TraceIdRatioBasedSampler::getDescription in vendor/open-telemetry/sdk/Trace/Sampler/TraceIdRatioBasedSampler.php
Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"

File

vendor/open-telemetry/sdk/Trace/SamplerInterface.php, line 45

Class

SamplerInterface
This interface is used to organize sampling logic.

Namespace

OpenTelemetry\SDK\Trace

Code

public function getDescription() : string;

API Navigation

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