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

Breadcrumb

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

function LogsServiceClient::Export

For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.

Parameters

\Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceRequest $argument input argument:

array $metadata metadata:

array $options call options:

Return value

\Grpc\UnaryCall

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php, line 45

Class

LogsServiceClient
Service that can be used to push logs between one Application instrumented with OpenTelemetry and an collector, or between an collector and a central collector (in this case logs are sent/received to/from multiple Applications).

Namespace

Opentelemetry\Proto\Collector\Logs\V1

Code

public function Export(\Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceRequest $argument, $metadata = [], $options = []) {
    return $this->_simpleRequest('/opentelemetry.proto.collector.logs.v1.LogsService/Export', $argument, [
        '\\Opentelemetry\\Proto\\Collector\\Logs\\V1\\ExportLogsServiceResponse',
        'decode',
    ], $metadata, $options);
}
RSS feed
Powered by Drupal