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

Breadcrumb

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

function TraceConfig::setMaxNumberOfAttributesPerLink

The global default max number of attributes per span.

Generated from protobuf field <code>int64 max_number_of_attributes_per_link = 8;</code>

Parameters

int|string $var:

Return value

$this

File

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

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 setMaxNumberOfAttributesPerLink($var) {
    GPBUtil::checkInt64($var);
    $this->max_number_of_attributes_per_link = $var;
    return $this;
}

API Navigation

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