PHPackages                             cusodede/yii2-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. cusodede/yii2-opentracing

ActiveYii2-extension

cusodede/yii2-opentracing
=========================

OpenTracing implementation

1.1.2(2y ago)0591MITPHPPHP &gt;=8.0

Since Jun 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cusodede/yii2-opentracing)[ Packagist](https://packagist.org/packages/cusodede/yii2-opentracing)[ RSS](/packages/cusodede-yii2-opentracing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (13)Versions (14)Used By (0)

yii2-opentracing
================

[](#yii2-opentracing)

OpenTracing support component

[![Build Status](https://github.com/cusodede/yii2-opentracing/actions/workflows/ci.yml/badge.svg)](https://github.com/cusodede/yii2-opentracing/actions)

Установка
=========

[](#установка)

Добавляем

```
{
	"type": "vcs",
	"url": "https://github.com/cusodede/yii2-opentracing"
}

```

В секцию `repositories` файла `composer.json`, затем запускаем

```
php composer.phar require cusodede/yii2-opentracing "^1.0.0"

```

или добавляем

```
"cusodede/yii2-opentracing": "^1.0.0"

```

в секцию `require`.

Подключение
===========

[](#подключение)

```
$config = [
	...
	'bootstrap' => ['log', 'opentracing'], //Обязательно добавляем в bootstrap
	...
	'components' => [
		...
		'opentracing' => [ //Подключаем сам компонент
			'class' => OpenTracingComponent::class,
			'excludedRequestsPaths' => [
				'assets/*'
			],
			'handlers' => [//Указываем хендлеры логирования
				HttpClientEventsHandler::class
			]
		],
		'log' => [
			...
			'targets' => [
				...
				[//добавляем target для логирования событий категории opentracing, OpenTracingFileTarget позволяет гибче конфигурировать имя файла
					'class' => OpenTracingFileTarget::class,
					'categories' => ['opentracing'],
					'logVars' => [],
					'logFile' => fn():string => '@app/runtime/logs/ot-'.date('YmdH').'.log'
				]
			],
		],
		...
];
```

todo
====

[](#todo)

Добавить Target для постинга Url - Лёша Галлямов предоставит отдельный сервис.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 94.4% 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 ~70 days

Recently: every ~139 days

Total

9

Last Release

865d ago

Major Versions

0.1 → 1.0.02022-06-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/76ddc43524bb32eb36568e25b6ae283bc25bb51a4572789997909092145af0f5?d=identicon)[pozitronik](/maintainers/pozitronik)

---

Top Contributors

[![pozitronik](https://avatars.githubusercontent.com/u/2357892?v=4)](https://github.com/pozitronik "pozitronik (67 commits)")[![s1lver](https://avatars.githubusercontent.com/u/4567634?v=4)](https://github.com/s1lver "s1lver (2 commits)")[![eoskin-ru](https://avatars.githubusercontent.com/u/46093782?v=4)](https://github.com/eoskin-ru "eoskin-ru (1 commits)")[![Fullchaos](https://avatars.githubusercontent.com/u/41751396?v=4)](https://github.com/Fullchaos "Fullchaos (1 commits)")

---

Tags

yii2extensionopentracing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cusodede-yii2-opentracing/health.svg)

```
[![Health](https://phpackages.com/badges/cusodede-yii2-opentracing/health.svg)](https://phpackages.com/packages/cusodede-yii2-opentracing)
```

PHPackages © 2026

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