Zipnik OpenTracing profiler bundle
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DependencyInjection
EventListener
Guzzle
Logger
Resources/config
Tests
.gitignore
CorleyOpenTracingBundle.php
README.md
composer.json
phpunit.xml.dist

README.md

OpenTracing Bundle

Add this bundle

new Corley\OpenTracingBundle\CorleyOpenTracingBundle()

Prepare your config_prod.yml

corley_open_tracing:
    app_name: "your.application.name"
    zipkin: "http://192.168.0.5:9411"

Log Doctrine Queries

In your config_prod just add:

doctrine:
    dbal:
        logging: true

Symfony DiC

Tag your HandlerStack as a corley.auth.guzzle_handler_stack in other to trace down your services calls.

http.handler:
    class: GuzzleHttp\Handler\CurlHandler

http.stack:
    class: GuzzleHttp\HandlerStack
    calls:
        - ["setHandler", ["@http.handler"]]
    tags:
        - { name: corley.auth.guzzle_handler_stack }


http.client:
    class: GuzzleHttp\Client
    arguments:
        - {"handler": "@http.stack"}