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

Breadcrumb

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

function ExportTracePartialSuccess::setRejectedSpans

The number of rejected spans. A `rejected_<signal>` field holding a `0` value indicates that the request was fully accepted.

Generated from protobuf field <code>int64 rejected_spans = 1;</code>

Parameters

int|string $var:

Return value

$this

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php, line 82

Class

ExportTracePartialSuccess
Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess</code>

Namespace

Opentelemetry\Proto\Collector\Trace\V1

Code

public function setRejectedSpans($var) {
    GPBUtil::checkInt64($var);
    $this->rejected_spans = $var;
    return $this;
}

API Navigation

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