PHPackages                             yupao/tracing - 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. yupao/tracing

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

yupao/tracing
=============

Customized tracing component based on openzipkin by Yupao

1.1.2(4y ago)123Apache-2.0PHPPHP &gt;=7.2

Since Nov 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/apuppy/tracing)[ Packagist](https://packagist.org/packages/yupao/tracing)[ RSS](/packages/yupao-tracing/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (8)Versions (15)Used By (0)

English | [中文](./README-CN.md)

tracing
=======

[](#tracing)

Customized tracing component based on openzipkin by Yupao

quickstart
==========

[](#quickstart)

install dependency
------------------

[](#install-dependency)

```
composer require yupao/tracing
```

(optional) delete existing opentracing config file
--------------------------------------------------

[](#optional-delete-existing-opentracing-config-file)

```
rm -f {$project_dir}/config/autoload/opentracing.php
```

publish config file
-------------------

[](#publish-config-file)

```
php bin/hyperf.php vendor:publish yupao/tracing
```

change aspect configuration
---------------------------

[](#change-aspect-configuration)

```
# config/autoload/aspects.php
return [
    Yupao\Tracing\Hyperf\Aspect\JsonRpcAspect::class,
];
```

middlewares configuration
-------------------------

[](#middlewares-configuration)

```
# config/autoload/middlewares.php
return [
    'http' => [
        Yupao\Tracing\Hyperf\Middleware\TraceMiddleware::class
    ],
];
```

customization
=============

[](#customization)

change customized trace header name
-----------------------------------

[](#change-customized-trace-header-name)

If you are using a customized HTTP header for tracing. In the project configuration .env file, set `CUSTOMIZED_TRACE_ID_NAME` to that name.

```
# edit .env
CUSTOMIZED_TRACE_ID_NAME=x-request-id

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

13

Last Release

1656d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91bc8662050b8a69f88c0fce925a9fe528b0df2bcda65d36e9e9678c175d0808?d=identicon)[apuppy](/maintainers/apuppy)

---

Top Contributors

[![apuppy](https://avatars.githubusercontent.com/u/6140347?v=4)](https://github.com/apuppy "apuppy (17 commits)")

### Embed Badge

![Health badge](/badges/yupao-tracing/health.svg)

```
[![Health](https://phpackages.com/badges/yupao-tracing/health.svg)](https://phpackages.com/packages/yupao-tracing)
```

###  Alternatives

[mineadmin/mineadmin

Quickly build a background management system for web applications

1.2k2.0k](/packages/mineadmin-mineadmin)

PHPackages © 2026

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