ExportLogsServiceRequest
extends Message
in package
Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest</code>
Table of Contents
Properties
- $resource_logs : mixed
- An array of ResourceLogs.
Methods
- __construct() : mixed
- Constructor.
- getResourceLogs() : RepeatedField
- An array of ResourceLogs.
- setResourceLogs() : $this
- An array of ResourceLogs.
Properties
$resource_logs
An array of ResourceLogs.
private
mixed
$resource_logs
For data coming from a single resource this array will typically contain one element. Intermediary nodes (such as OpenTelemetry Collector) that receive data from multiple origins typically batch the data before forwarding further and in that case this array will contain multiple elements.
Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 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 \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $resource_logs An array of ResourceLogs. For data coming from a single resource this array will typically contain one element. Intermediary nodes (such as OpenTelemetry Collector) that receive data from multiple origins typically batch the data before forwarding further and in that case this array will contain multiple elements.
}
getResourceLogs()
An array of ResourceLogs.
public
getResourceLogs() : RepeatedField
For data coming from a single resource this array will typically contain one element. Intermediary nodes (such as OpenTelemetry Collector) that receive data from multiple origins typically batch the data before forwarding further and in that case this array will contain multiple elements.
Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
Return values
RepeatedFieldsetResourceLogs()
An array of ResourceLogs.
public
setResourceLogs(array<string|int, ResourceLogs>|RepeatedField $var) : $this
For data coming from a single resource this array will typically contain one element. Intermediary nodes (such as OpenTelemetry Collector) that receive data from multiple origins typically batch the data before forwarding further and in that case this array will contain multiple elements.
Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
Parameters
- $var : array<string|int, ResourceLogs>|RepeatedField