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

Breadcrumb

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

function Span::setDroppedAttributesCount

dropped_attributes_count is the number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0, then no attributes were dropped.

Generated from protobuf field <code>uint32 dropped_attributes_count = 10;</code>

Parameters

int $var:

Return value

$this

File

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

Class

Span
A Span represents a single operation performed by a single component of the system. The next available field id is 17.

Namespace

Opentelemetry\Proto\Trace\V1

Code

public function setDroppedAttributesCount($var) {
    GPBUtil::checkUint32($var);
    $this->dropped_attributes_count = $var;
    return $this;
}

API Navigation

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