rename make examples to make tracing examples (#192)
* rename make examples to make tracing examples fixes #191 * update command in readme
This commit is contained in:
parent
df87435383
commit
82cefa7f04
2
Makefile
2
Makefile
|
|
@ -8,7 +8,7 @@ test:
|
|||
$(DC_RUN_PHP) php ./vendor/bin/phpunit --colors=always --coverage-text --testdox --coverage-clover coverage.clover
|
||||
phan:
|
||||
$(DC_RUN_PHP) env PHAN_DISABLE_XDEBUG_WARN=1 php ./vendor/bin/phan
|
||||
examples: FORCE
|
||||
trace examples: FORCE
|
||||
docker-compose up -d
|
||||
$(DC_RUN_PHP) php ./examples/AlwaysOnZipkinExample.php
|
||||
$(DC_RUN_PHP) php ./examples/AlwaysOffTraceExample.php
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ You can use the [examples/AlwaysSampleTraceExample.php](/examples/AlwaysOnTraceE
|
|||
The PHP should execute by itself (if you have a zipkin instance running on localhost), but if you'd like a no-fuss way to test this out with docker and docker-compose, you can perform the following simple steps:
|
||||
|
||||
1.) Install the necessary dependencies by running `make install`. This will install the composer dependencies and store them in `/vendor`
|
||||
2.) Execute the example trace using `make examples`.
|
||||
2.) Execute the example trace using `make trace examples`.
|
||||
|
||||
Exported spans can be seen in zipkin at [http://127.0.0.1:9411](http://127.0.0.1:9411)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue