Skip to content

Commit 9597e02

Browse files
authored
Update opentracing.php
1 parent 54830c9 commit 9597e02

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

installer/resources/tracer/opentracing.php

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
'tracer' => [
2424
'zipkin' => [
25-
'driver' => Hyperf\Tracer\Adapter\ZipkinTracerFactory::class,
25+
'driver' => \Hyperf\Tracer\Adapter\ZipkinTracerFactory::class,
2626
'app' => [
2727
'name' => env('APP_NAME', 'skeleton'),
2828
// Hyperf will detect the system info automatically as the value if ipv4, ipv6, port is null
@@ -37,19 +37,9 @@
3737
'sampler' => BinarySampler::createAsAlwaysSample(),
3838
],
3939
'jaeger' => [
40-
'driver' => Hyperf\Tracer\Adapter\JaegerTracerFactory::class,
40+
'driver' => \Hyperf\Tracer\Adapter\JaegerTracerFactory::class,
4141
'name' => env('APP_NAME', 'skeleton'),
4242
'options' => [
43-
/*
44-
* You can uncomment the sampler lines to use custom strategy.
45-
*
46-
* For more available configurations,
47-
* @see https://github.com/jonahgeorge/jaeger-client-php
48-
*/
49-
// 'sampler' => [
50-
// 'type' => \Jaeger\SAMPLER_TYPE_CONST,
51-
// 'param' => true,
52-
// ],,
5343
'local_agent' => [
5444
'reporting_host' => env('JAEGER_REPORTING_HOST', 'localhost'),
5545
'reporting_port' => env('JAEGER_REPORTING_PORT', 5775),

0 commit comments

Comments
 (0)