code-tool / jaeger-client-php
v3.8.0
2025-07-22 16:26 UTC
Requires
- php: >=7.4
- ext-sockets: *
- apache/thrift: >=0.11, <0.17
Requires (Dev)
- phpunit/phpunit: @stable
This package is auto-updated.
Last update: 2026-05-15 13:36:08 UTC
README
Installation
composer require code-tool/jaeger-client-php
Getting Started
It is strictly advised to use any form of DI container (e.g. Symfony Bundle).
<?php use Jaeger\Tag\StringTag; use Jaeger\Tracer\TracerInterface; /** @var TracerInterface $tracer */ $span = $tracer->start('Parent Operation Name', [new StringTag('test.tag', 'Hello world in parent')]); $childSpan = $tracer->start('Child Operation Name', [new StringTag('test.tag', 'Hello world in child')]); $tracer->finish($childSpan); $tracer->finish($span);