function TraceServiceClient::__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/ Trace/ V1/ TraceServiceClient.php, line 33
Class
- TraceServiceClient
- Service that can be used to push spans between one Application instrumented with OpenTelemetry and a collector, or between a collector and a central collector (in this case spans are sent/received to/from multiple Applications).
Namespace
Opentelemetry\Proto\Collector\Trace\V1Code
public function __construct($hostname, $opts, $channel = null) {
parent::__construct($hostname, $opts, $channel);
}