PHPackages                             micro-module/observability-bundle - 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. micro-module/observability-bundle

ActiveSymfony-bundle

micro-module/observability-bundle
=================================

OpenTelemetry observability bundle with conditional subsystem loading for Symfony applications

v0.1.0(1mo ago)00proprietaryPHPPHP ^8.4

Since Mar 28Pushed 1mo agoCompare

[ Source](https://github.com/temafey/micro_modules_observability_bundle)[ Packagist](https://packagist.org/packages/micro-module/observability-bundle)[ RSS](/packages/micro-module-observability-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (22)Versions (2)Used By (0)

MicroModule Observability Bundle
================================

[](#micromodule-observability-bundle)

OpenTelemetry observability bundle for Symfony applications with conditional subsystem loading.

Features
--------

[](#features)

- **Core**: TracerFactory + MeterFactory for OpenTelemetry instrumentation
- **Doctrine**: DBAL query tracing middleware
- **AMQP**: RabbitMQ producer/consumer span propagation
- **Broadway**: EventBus/EventStore decorator tracing
- **Redis**: Operation tracing with cache hit/miss tracking
- **Profiling**: Pyroscope continuous profiling
- **Circuit Breaker**: Ganesha-based protection for OTel exporters
- **Command Bus**: Tactician middleware tracing

Each subsystem is independently toggleable and only loaded when its dependencies are present.

Installation
------------

[](#installation)

```
composer require micro-module/observability-bundle
```

Configuration
-------------

[](#configuration)

```
# config/packages/micro_observability.yaml
micro_observability:
    service_name: "my-service"        # required
    service_version: "1.0.0"

    doctrine:
        enabled: true                  # requires doctrine/dbal
        connections: [default]

    amqp:
        enabled: true                  # requires micro-module/enqueue

    broadway:
        enabled: true                  # requires broadway/broadway

    redis:
        enabled: true                  # requires ext-redis

    profiling:
        enabled: false
        pyroscope_endpoint: "http://pyroscope:4040"

    circuit_breaker:
        enabled: true                  # requires ackintosh/ganesha
        failure_threshold: 50
        time_window_seconds: 30
        minimum_requests: 3
        interval_to_half_open_seconds: 10

    command_bus:
        enabled: true                  # requires league/tactician

    logging:
        enabled: true                  # Monolog trace context

    flusher:
        enabled: true                  # Metrics/log flusher
```

Conditional Loading
-------------------

[](#conditional-loading)

Each subsystem checks both the `enabled` config flag AND whether its dependencies are installed:

```
// Example: Doctrine tracing only loads if BOTH conditions are true
if ($config['doctrine']['enabled'] && class_exists(\Doctrine\DBAL\Driver\Middleware::class)) {
    $container->import('../config/doctrine.php');
}
```

This means you can safely enable all subsystems — those without installed dependencies are silently skipped.

License
-------

[](#license)

Proprietary

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb0e6b6ff14b9d53d413617c42ddb1f83ff451c32beac02bc4ebebb6cfabeb00?d=identicon)[temafey](/maintainers/temafey)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/micro-module-observability-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/micro-module-observability-bundle/health.svg)](https://phpackages.com/packages/micro-module-observability-bundle)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[numero2/contao-storelocator

Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data

121.5k](/packages/numero2-contao-storelocator)

PHPackages © 2026

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