Closed CHOMNANP closed 2 years ago
use OpenTracing\GlobalTracer;
use Jaeger\Config;
$config = new Config(
[
'sampler' => [
'type' => Jaeger\SAMPLER_TYPE_PROBABILISTIC,
'param' => 1.00,
],
'logging' => true,
'dispatch_mode' => 'jaeger_over_binary_udp',
'local_agent' => [
'reporting_host' => // IP address of jaeger
'reporting_port' => 6832
]
],
'service_name'
);
$tracer = $config->initializeTracer();
We don't provide such a thing for any concrete implementation. Such things belong in the jaeger repository.
Background
I am looking run this in Laravel with Jaeger.
Problem
There is no document showing how to specify the connection to jaeger.
Proposal
Questions to address
How to connect this client library to Jaeger.