PHPackages                             opencensus/opencensus-exporter-jaeger - 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. opencensus/opencensus-exporter-jaeger

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

opencensus/opencensus-exporter-jaeger
=====================================

OpenCensus Jaeger Exporter for PHP

v0.1.1(7y ago)6323.9k↓34.2%11[3 PRs](https://github.com/census-instrumentation/opencensus-php-exporter-jaeger/pulls)Apache-2.0PHP

Since Apr 5Pushed 3y ago9 watchersCompare

[ Source](https://github.com/census-instrumentation/opencensus-php-exporter-jaeger)[ Packagist](https://packagist.org/packages/opencensus/opencensus-exporter-jaeger)[ RSS](/packages/opencensus-opencensus-exporter-jaeger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (5)Used By (0)

> **Warning**
>
> OpenCensus and OpenTracing have merged to form [OpenTelemetry](https://opentelemetry.io), which serves as the next major version of OpenCensus and OpenTracing.
>
> OpenTelemetry has now reached feature parity with OpenCensus, with tracing and metrics SDKs available in .NET, Golang, Java, NodeJS, and Python. **All OpenCensus Github repositories, except [census-instrumentation/opencensus-python](https://github.com/census-instrumentation/opencensus-python), will be archived on July 31st, 2023**. We encourage users to migrate to OpenTelemetry by this date.
>
> To help you gradually migrate your instrumentation to OpenTelemetry, bridges are available in Java, Go, Python, and JS. [**Read the full blog post to learn more**](https://opentelemetry.io/blog/2023/sunsetting-opencensus/).

OpenCensus Jaeger Exporter for PHP
==================================

[](#opencensus-jaeger-exporter-for-php)

This library provides an [`ExporterInterface`](https://github.com/census-instrumentation/opencensus-php/blob/master/src/Trace/Exporter/ExporterInterface.php) for exporting Trace data to a Jaeger instance using Thrift (Compact Protocol) over UDP.

[![CircleCI](https://camo.githubusercontent.com/2a1b7c99ce88c42cd9a49fa8c7c58119d2ef7ab54c423b97dcad12d71edfd954/68747470733a2f2f636972636c6563692e636f6d2f67682f63656e7375732d65636f73797374656d2f6f70656e63656e7375732d7068702d6578706f727465722d6a61656765722e7376673f7374796c653d737667)](https://circleci.com/gh/census-ecosystem/opencensus-php-exporter-jaeger)[![Packagist](https://camo.githubusercontent.com/8ae1cb518e053667ca69096dc30f220eca4c7ae5c23d93403841f257e4e2c9e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e63656e7375732f6f70656e63656e7375732d6578706f727465722d6a61656765722e737667)](https://packagist.org/packages/opencensus/opencensus-exporter-jaeger)[![PHP-Version](https://camo.githubusercontent.com/d1352eb7463245b8f4fca7488dd1d7c508c3d0430213a0be124904f844475575/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6f70656e63656e7375732f6f70656e63656e7375732d6578706f727465722d6a61656765722e737667)](https://camo.githubusercontent.com/d1352eb7463245b8f4fca7488dd1d7c508c3d0430213a0be124904f844475575/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6f70656e63656e7375732f6f70656e63656e7375732d6578706f727465722d6a61656765722e737667)

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6
- 64-bit version of PHP

Installation &amp; basic usage
------------------------------

[](#installation--basic-usage)

1. Install the `opencensus/opencensus-exporter-jaeger` package using [composer](https://getcomposer.org/):

    ```
    $ composer require opencensus/opencensus-exporter-jaeger:~0.1
    ```
2. Initialize a tracer for your application:

    ```
    use OpenCensus\Trace\Tracer;
    use OpenCensus\Trace\Exporter\JaegerExporter;

    Tracer::start(new JaegerExporter('my-service-name'));
    ```

Customization
-------------

[](#customization)

You may provide an associative array of options to the `JaegerExporter` at initialization:

```
$options = [];
$exporter = new JaegerExporter('my-service-name', $options);
```

The following options are available:

OptionDefaultDescription`host`"127.0.0.1"The TCP IP address to send the UDP request to`port`6831The TCP port to send the UDP request to`tags`(empty)An associative array of tags to mark this process with`client`nullOptional [`AgentIf`](https://github.com/census-instrumentation/opencensus-php-exporter-jaeger/blob/master/src/Thrift/Agent.php#L19) interface to use for testingVersioning
----------

[](#versioning)

[![Packagist](https://camo.githubusercontent.com/8ae1cb518e053667ca69096dc30f220eca4c7ae5c23d93403841f257e4e2c9e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e63656e7375732f6f70656e63656e7375732d6578706f727465722d6a61656765722e737667)](https://packagist.org/packages/opencensus/opencensus-exporter-jaeger)

This library follows [Semantic Versioning](http://semver.org/).

Please note it is currently under active development. Any release versioned 0.x.y is subject to backwards incompatible changes at any time.

**GA**: Libraries defined at a GA quality level are stable, and will not introduce backwards-incompatible changes in any minor or patch releases. We will address issues and requests with the highest priority.

**Beta**: Libraries defined at a Beta quality level are expected to be mostly stable and we're working towards their release candidate. We will address issues and requests with a higher priority.

**Alpha**: Libraries defined at an Alpha quality level are still a work-in-progress and are more likely to get backwards-incompatible updates.

**Current Status:** Alpha

Contributing
------------

[](#contributing)

Contributions to this library are always welcome and highly encouraged.

See [CONTRIBUTING](CONTRIBUTING.md) for more information on how to get started.

Releasing
---------

[](#releasing)

See [RELEASING](RELEASING.md) for more information on releasing new versions.

License
-------

[](#license)

Apache 2.0 - See [LICENSE](LICENSE) for more information.

Disclaimer
----------

[](#disclaimer)

This is not an official Google product.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~235 days

Total

2

Last Release

2730d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e558232679d4011d41ef3fa24b6a1607a5ff07001d8e1d9b33e61c7aac38f1b?d=identicon)[chingor13](/maintainers/chingor13)

---

Top Contributors

[![chingor13](https://avatars.githubusercontent.com/u/32483?v=4)](https://github.com/chingor13 "chingor13 (8 commits)")[![aabmass](https://avatars.githubusercontent.com/u/1510004?v=4)](https://github.com/aabmass "aabmass (1 commits)")[![dragoscirjan](https://avatars.githubusercontent.com/u/950596?v=4)](https://github.com/dragoscirjan "dragoscirjan (1 commits)")[![dz0ny](https://avatars.githubusercontent.com/u/239513?v=4)](https://github.com/dz0ny "dz0ny (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/opencensus-opencensus-exporter-jaeger/health.svg)

```
[![Health](https://phpackages.com/badges/opencensus-opencensus-exporter-jaeger/health.svg)](https://phpackages.com/packages/opencensus-opencensus-exporter-jaeger)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[open-telemetry/api

API for OpenTelemetry PHP.

1933.0M214](/packages/open-telemetry-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
