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

Breadcrumb

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

function ExportMetricsPartialSuccess::__construct

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type int|string $rejected_data_points The number of rejected data points. A `rejected_<signal>` field holding a `0` value indicates that the request was fully accepted. @type string $error_message A developer-facing human-readable message in English. It should be used either to explain why the server rejected parts of the data during a partial success or to convey warnings/suggestions during a full success. The message should offer guidance on how users can address such issues. error_message is an optional field. An error_message with an empty value is equivalent to it not being set. }

Overrides Message::__construct

File

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

Class

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

Namespace

Opentelemetry\Proto\Collector\Metrics\V1

Code

public function __construct($data = NULL) {
    \GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1\MetricsService::initOnce();
    parent::__construct($data);
}

API Navigation

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