File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ See https://github.com/open-telemetry/opentelemetry-php#sdk-autoloading
2525require_once 'vendor/autoload.php';
2626
2727$tracerProvider = /*create tracer provider*/;
28- $scope = \OpenTelemetry\API\Common\ Instrumentation\Configurator::create()
28+ $scope = \OpenTelemetry\API\Instrumentation\Configurator::create()
2929 ->withTracerProvider($tracerProvider)
3030 ->activate();
3131
Original file line number Diff line number Diff line change 1010 "require" : {
1111 "php" : " ^8.0" ,
1212 "ext-opentelemetry" : " *" ,
13- "open-telemetry/api" : " ^1" ,
13+ "open-telemetry/api" : " ^1.0.0beta10 " ,
1414 "open-telemetry/sem-conv" : " ^1" ,
1515 "symfony/http-kernel" : " *" ,
1616 "symfony/http-client-contracts" : " *"
Original file line number Diff line number Diff line change 44
55namespace OpenTelemetry \Contrib \Instrumentation \Symfony ;
66
7- use OpenTelemetry \API \Common \ Instrumentation \ CachedInstrumentation ;
8- use OpenTelemetry \API \Common \ Instrumentation \Globals ;
7+ use OpenTelemetry \API \Globals ;
8+ use OpenTelemetry \API \Instrumentation \CachedInstrumentation ;
99use OpenTelemetry \API \Trace \Span ;
1010use OpenTelemetry \API \Trace \SpanKind ;
1111use OpenTelemetry \API \Trace \StatusCode ;
Original file line number Diff line number Diff line change 44
55namespace OpenTelemetry \Contrib \Instrumentation \Symfony ;
66
7- use OpenTelemetry \API \Common \ Instrumentation \ CachedInstrumentation ;
8- use OpenTelemetry \API \Common \ Instrumentation \Globals ;
7+ use OpenTelemetry \API \Globals ;
8+ use OpenTelemetry \API \Instrumentation \CachedInstrumentation ;
99use OpenTelemetry \API \Trace \Span ;
1010use OpenTelemetry \API \Trace \SpanInterface ;
1111use OpenTelemetry \API \Trace \SpanKind ;
Original file line number Diff line number Diff line change 55namespace OpenTelemetry \Tests \Instrumentation \Symfony \tests \Integration ;
66
77use ArrayObject ;
8- use OpenTelemetry \API \Common \ Instrumentation \Configurator ;
8+ use OpenTelemetry \API \Instrumentation \Configurator ;
99use OpenTelemetry \API \Trace \Propagation \TraceContextPropagator ;
1010use OpenTelemetry \Context \ScopeInterface ;
1111use OpenTelemetry \SDK \Trace \SpanExporter \InMemoryExporter ;
You can’t perform that action at this time.
0 commit comments