PHPackages                             wizofgoz/laravel-opentracing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. wizofgoz/laravel-opentracing

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

wizofgoz/laravel-opentracing
============================

1.0.0-rc.3(5y ago)002[2 issues](https://github.com/Wizofgoz/laravel-opentracing/issues)Apache-2.0PHPPHP &gt;=7.3

Since Apr 3Pushed 5y agoCompare

[ Source](https://github.com/Wizofgoz/laravel-opentracing)[ Packagist](https://packagist.org/packages/wizofgoz/laravel-opentracing)[ RSS](/packages/wizofgoz-laravel-opentracing/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (1)Dependencies (9)Versions (8)Used By (0)

OpenTracing for Laravel
=======================

[](#opentracing-for-laravel)

[![Total Downloads](https://camo.githubusercontent.com/e768240814759e37117ed19e9259c311f311221d19450f391483d7965e78f77b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77697a6f66676f7a2f6c61726176656c2d6f70656e74726163696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wizofgoz/laravel-opentracing)[![Latest Stable Version](https://camo.githubusercontent.com/aefe620e97729ca8f7b3cd77bdc83dbf1bc43e76ca9bfbf2fa586b98d0b5947c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77697a6f66676f7a2f6c61726176656c2d6f70656e74726163696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wizofgoz/laravel-opentracing)[![StyleCI](https://camo.githubusercontent.com/96b74f3708eff1919ace08ba07ee25fcc3fc70308464f253301af476920f5bc1/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3237313931313937322f736869656c643f7374796c653d666c61742d737175617265266272616e63683d646576656c6f70)](https://github.styleci.io/repos/271911972)[![Build Status](https://camo.githubusercontent.com/ee05ba15546d6be5135e5a24ae39b8e83dfbcee9352a98dd9ce2cefbd602a00e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f77697a6f66676f7a2f6c61726176656c2d6f70656e74726163696e672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/wizofgoz/laravel-opentracing)[![Coverage Status](https://camo.githubusercontent.com/9511a1e7e92c26a9d572b21df6b0f3f1963a1093982adbb3e0704092ac665bd3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f57697a6f66676f7a2f6c61726176656c2d6f70656e74726163696e672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Wizofgoz/laravel-opentracing?branch=master)

Reference implementation of the OpenTracing API for Laravel including a server-less local tracer for application logging purposes.

See [OpenTracing](http://opentracing.io/) for more information.

Supported Clients
-----------------

[](#supported-clients)

Currently supported clients:

- Local: No-op tracer used mainly for adding trace ids to logs.
- Jaeger: open source, end-to-end distributed tracing. See [Jaeger](https://www.jaegertracing.io/) and Jonah George's [Jaeger Client PHP](https://github.com/jonahgeorge/jaeger-client-php).

Installation
------------

[](#installation)

Install the latest version using:

```
composer require wizofgoz/laravel-opentracing
```

Copy the default configuration file to your application if you want to change it by running the command below. Note that you have to use `--force` if the file already exists.

```
php artisan vendor:publish --provider="LaravelOpenTracing\TracingServiceProvider"
```

Basic Usage
-----------

[](#basic-usage)

### Example setup

[](#example-setup)

Example `bootstrap/app.php` file:

```
