Skip to content

Commit 6e65ec4

Browse files
committed
Address comments
1 parent 0ed4bc9 commit 6e65ec4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Instrumentation/PDO/src/SqlServerPropagator.php renamed to src/Instrumentation/PDO/src/ContextInfoPropagator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace OpenTelemetry\Contrib\Instrumentation\PDO;
66

7-
class SqlServerPropagator implements SqlPropagatorInterface
7+
class ContextInfoPropagator implements SqlPropagatorInterface
88
{
99
public static function inject(string $query, array $comments): string
1010
{

src/Instrumentation/PDO/tests/Unit/SqlServerPropagatorTest.php renamed to src/Instrumentation/PDO/tests/Unit/ContextInfoPropagatorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
namespace OpenTelemetry\Tests\Instrumentation\PDO\tests\Unit;
66

7-
use OpenTelemetry\Contrib\Instrumentation\PDO\SqlServerPropagator;
7+
use OpenTelemetry\Contrib\Instrumentation\PDO\ContextInfoPropagator;
88
use PHPUnit\Framework\TestCase;
99

10-
class SqlServerPropagatorTest extends TestCase
10+
class ContextInfoPropagatorTest extends TestCase
1111
{
1212
public function testInject()
1313
{
@@ -17,7 +17,7 @@ public function testInject()
1717
'key3' => 'value3',
1818
];
1919
$query = 'SELECT 1;';
20-
$result = SqlServerPropagator::inject($query, $comments);
20+
$result = ContextInfoPropagator::inject($query, $comments);
2121
$this->assertEquals('SELECT 1;', $result);
2222
}
2323

0 commit comments

Comments
 (0)