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

Breadcrumb

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

function ExportTracePartialSuccess::__construct

Constructor.

Parameters

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

@type int|string $rejected_spans The number of rejected spans. 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/Trace/V1/ExportTracePartialSuccess.php, line 55

Class

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

Namespace

Opentelemetry\Proto\Collector\Trace\V1

Code

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