Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

199 Commits

Repository files navigation

PHP OpenTracing API using Jaeger

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).

<?phpuseJaeger\Tag\StringTag;
useJaeger\Tracer\TracerInterface;
/** @var TracerInterface $tracer */$span = $tracer->start('Parent Operation Name', [newStringTag('test.tag', 'Hello world in parent')]);
$childSpan = $tracer->start('Child Operation Name', [newStringTag('test.tag', 'Hello world in child')]);
$tracer->finish($childSpan);
$tracer->finish($span); 

About

OpenTracing API for PHP

Topics

Resources

Stars

35 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages