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

Breadcrumb

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

function MetricsServiceClient::Export

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

Parameters

\Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceRequest $argument input argument:

array $metadata metadata:

array $options call options:

Return value

\Grpc\UnaryCall

File

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

Class

MetricsServiceClient
Service that can be used to push metrics between one Application instrumented with OpenTelemetry and a collector, or between a collector and a central collector.

Namespace

Opentelemetry\Proto\Collector\Metrics\V1

Code

public function Export(\Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceRequest $argument, $metadata = [], $options = []) {
    return $this->_simpleRequest('/opentelemetry.proto.collector.metrics.v1.MetricsService/Export', $argument, [
        '\\Opentelemetry\\Proto\\Collector\\Metrics\\V1\\ExportMetricsServiceResponse',
        'decode',
    ], $metadata, $options);
}
RSS feed
Powered by Drupal