OpenTelemetry PHP

ExportTracePartialSuccess extends Message
in package

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

Table of Contents

Properties

$error_message  : mixed
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.
$rejected_spans  : mixed
The number of rejected spans.

Methods

__construct()  : mixed
Constructor.
getErrorMessage()  : string
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.
getRejectedSpans()  : int|string
The number of rejected spans.
setErrorMessage()  : $this
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.
setRejectedSpans()  : $this
The number of rejected spans.

Properties

$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.

protected mixed $error_message = ''

error_message is an optional field. An error_message with an empty value is equivalent to it not being set.

Generated from protobuf field string error_message = 2;

$rejected_spans

The number of rejected spans.

protected mixed $rejected_spans = 0

A rejected_<signal> field holding a 0 value indicates that the request was fully accepted.

Generated from protobuf field int64 rejected_spans = 1;

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ 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.

}

getErrorMessage()

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.

public getErrorMessage() : string

error_message is an optional field. An error_message with an empty value is equivalent to it not being set.

Generated from protobuf field string error_message = 2;

Return values
string

getRejectedSpans()

The number of rejected spans.

public getRejectedSpans() : int|string

A rejected_<signal> field holding a 0 value indicates that the request was fully accepted.

Generated from protobuf field int64 rejected_spans = 1;

Return values
int|string

setErrorMessage()

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.

public setErrorMessage(string $var) : $this

error_message is an optional field. An error_message with an empty value is equivalent to it not being set.

Generated from protobuf field string error_message = 2;

Parameters
$var : string
Return values
$this

setRejectedSpans()

The number of rejected spans.

public setRejectedSpans(int|string $var) : $this

A rejected_<signal> field holding a 0 value indicates that the request was fully accepted.

Generated from protobuf field int64 rejected_spans = 1;

Parameters
$var : int|string
Return values
$this

        
On this page

Search results