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

Breadcrumb

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

function MetricsServiceClient::__construct

Parameters

string $hostname hostname:

array $opts channel options:

\Grpc\Channel $channel (optional) re-use channel object:

File

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

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 __construct($hostname, $opts, $channel = null) {
    parent::__construct($hostname, $opts, $channel);
}
RSS feed
Powered by Drupal