Skip to content

Commit 3b1dcc1

Browse files
author
lalshe
committed
Provide links to used classes from PHP code example
1 parent 489a5d1 commit 3b1dcc1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ It is strictly advised to use any form of DI container (e.g. [Symfony Bundle](ht
1313
```php
1414
<?php
1515

16+
use Jaeger\Tag\StringTag;
17+
use Jaeger\Tracer\TracerInterface;
18+
19+
/** @var TracerInterface $tracer */
20+
1621
$span = $tracer->start('Parent Operation Name', [new StringTag('test.tag', 'Hello world in parent')]);
1722
$childSpan = $tracer->start('Child Operation Name', [new StringTag('test.tag', 'Hello world in child')]);
1823
$tracer->finish($childSpan);

0 commit comments

Comments
 (0)