function ExportLogsServiceRequest::getResourceLogs
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.
Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
Return value
\Google\Protobuf\Internal\RepeatedField
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Collector/ Logs/ V1/ ExportLogsServiceRequest.php, line 56
Class
- ExportLogsServiceRequest
- Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest</code>
Namespace
Opentelemetry\Proto\Collector\Logs\V1Code
public function getResourceLogs() {
return $this->resource_logs;
}