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

Breadcrumb

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

function ExportLogsPartialSuccess::__construct

Constructor.

Parameters

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

@type int|string $rejected_log_records The number of rejected log records. 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/Logs/V1/ExportLogsPartialSuccess.php, line 55

Class

ExportLogsPartialSuccess
Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess</code>

Namespace

Opentelemetry\Proto\Collector\Logs\V1

Code

public function __construct($data = NULL) {
    \GPBMetadata\Opentelemetry\Proto\Collector\Logs\V1\LogsService::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