Skip to content

Commit 5c61287

Browse files
committed
declare class variables
1 parent e992a00 commit 5c61287

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Instrumentation/AwsSdk/AwsSdkInstrumentation.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
use OpenTelemetry\API\Trace\SpanKind;
1212
use OpenTelemetry\API\Trace\TracerInterface;
1313
use OpenTelemetry\API\Trace\TracerProviderInterface;
14+
use OpenTelemetry\API\Trace\SpanInterface;
15+
use OpenTelemetry\Context\ScopeInterface;
1416

1517
use OpenTelemetry\Context\Context;
1618
use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
@@ -28,6 +30,11 @@ class AwsSdkInstrumentation implements InstrumentationInterface
2830
private TextMapPropagatorInterface $propagator;
2931
private TracerProviderInterface $tracerProvider;
3032
private $clients = [] ;
33+
private String $clientName;
34+
private String $region;
35+
private SpanInterface $span;
36+
private ScopeInterface $scope;
37+
3138

3239
public function getName(): string
3340
{

0 commit comments

Comments
 (0)