ExportMetricsPartialSuccess
        
        extends Message
    
    
            
            in package
            
        
    
    
    
Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess</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_data_points : mixed
- The number of rejected data points.
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.
- getRejectedDataPoints() : int|string
- The number of rejected data points.
- 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.
- setRejectedDataPoints() : $this
- The number of rejected data points.
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_data_points
The number of rejected data points.
        protected
            mixed
    $rejected_data_points
     = 0
        A rejected_<signal> field holding a 0 value indicates that the
request was fully accepted.
Generated from protobuf field int64 rejected_data_points = 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_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.} 
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
stringgetRejectedDataPoints()
The number of rejected data points.
    public
                    getRejectedDataPoints() : int|string
    A rejected_<signal> field holding a 0 value indicates that the
request was fully accepted.
Generated from protobuf field int64 rejected_data_points = 1;
Return values
int|stringsetErrorMessage()
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
$thissetRejectedDataPoints()
The number of rejected data points.
    public
                    setRejectedDataPoints(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_data_points = 1;
Parameters
- $var : int|string