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

Breadcrumb

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

function ExportMetricsPartialSuccess::setRejectedDataPoints

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

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

Parameters

int|string $var:

Return value

$this

File

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

Class

ExportMetricsPartialSuccess
Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess</code>

Namespace

Opentelemetry\Proto\Collector\Metrics\V1

Code

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

API Navigation

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