File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/Instrumentation/AwsSdk Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11<?php
2+
23declare (strict_types=1 );
34
45use OpenTelemetry \Contrib \Instrumentation \AwsSdk \AwsSdkInstrumentation ;
56use OpenTelemetry \SDK \Sdk ;
67
78if (class_exists (Sdk::class)
89 && Sdk::isInstrumentationDisabled (AwsSdkInstrumentation::NAME )) {
9- return ;
10+ return ;
1011}
1112
1213if (!extension_loaded ('opentelemetry ' )) {
1314 trigger_error (
1415 'The opentelemetry extension must be loaded to use the AWS SDK auto‑instrumentation ' ,
1516 E_USER_WARNING
1617 );
18+
1719 return ;
1820}
1921
Original file line number Diff line number Diff line change 99 "minimum-stability" : " dev" ,
1010 "prefer-stable" : true ,
1111 "require" : {
12- "php" : " ^8.2 " ,
12+ "php" : " ^8.1 " ,
1313 "aws/aws-sdk-php" : " ^3" ,
1414 "ext-opentelemetry" : " *" ,
1515 "open-telemetry/api" : " ^1.0" ,
You can’t perform that action at this time.
0 commit comments