Skip to content

Commit 23f9777

Browse files
authored
Merge pull request #6 from andrew-demb/readme
Readme nitpicks
2 parents c23091b + 3b1dcc1 commit 23f9777

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
1-
21
# PHP OpenTracing API using Jaeger
32

4-
53
## Installation
64

7-
```
5+
```bash
86
composer require code-tool/jaeger-client-php
97
```
108

119
## Getting Started
1210

13-
It is strictly advised to use any form of DI container (e.g. [Symfony](https://github.com/code-tool/jaeger-client-symfony-bridge)).
14-
```$xslt
11+
It is strictly advised to use any form of DI container (e.g. [Symfony Bundle](https://github.com/code-tool/jaeger-client-symfony-bridge)).
12+
13+
```php
1514
<?php
1615

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

0 commit comments

Comments
 (0)