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

Breadcrumb

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

function TraceConfig::getConstantSampler

Generated from protobuf field <code>.opentelemetry.proto.trace.v1.ConstantSampler constant_sampler = 1;</code>

Return value

\Opentelemetry\Proto\Trace\V1\ConstantSampler|null

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php, line 81

Class

TraceConfig
Global configuration of the trace service. All fields must be specified, or the default (zero) values will be used for each type.

Namespace

Opentelemetry\Proto\Trace\V1

Code

public function getConstantSampler() {
    return $this->readOneof(1);
}

API Navigation

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