PHPackages                             dbstudios/prometheus-client-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. dbstudios/prometheus-client-bundle

ActiveSymfony-bundle

dbstudios/prometheus-client-bundle
==================================

A Symfony bundle for dbstudios/prometheus-client

2.2.0(7y ago)063GPL-3.0PHPPHP &gt;=5.6

Since Feb 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/LartTyler/prometheus-client-bundle)[ Packagist](https://packagist.org/packages/dbstudios/prometheus-client-bundle)[ RSS](/packages/dbstudios-prometheus-client-bundle/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (10)Dependencies (5)Versions (9)Used By (0)

Getting Started
---------------

[](#getting-started)

To add the bundle, run the following command.

```
$ composer require dbstudios/prometheus-client-bundle
```

If your project is using [Symfony Flex](https://symfony.com/doc/4.1/setup/flex.html), the bundle should be enabled automatically. If not, you will need to add `DaybreakStudios\PrometheusClientBundle\DaybreakStudiosPrometheusClientBundle`to your bundles file.

Next, if your `config` directory, you'll need to add the base configuration for the bundle.

```
dbstudios_prometheus:
    adapter: DaybreakStudios\PrometheusClient\Adapter\ApcuAdapter
```

Where the base configuration should be placed will depend on your Symfony version. For 3.4 and older, this should be in `app/config/config.yml`. For newer Symfony versions (4.0 and greater), this should be `config/packages/dbstudios_prometheus.yaml`.

The value of `adapter` must be the ID of a service extending `DaybreakStudios\PrometheusClient\Adapter\AdapterInterface`. See the documentation for [`dbstudios/prometheus-client`](https://github.com/LartTyler/prometheus-client) for a list of built-in adapters.

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

[](#configuration)

A complete, annotated configuration for this bundle may be found below.

```
dbstudios_prometheus:
    # The ID of a service implementing DaybreakStudios\PrometheusClient\Adapter\AdapterInterface. No services are
    # registered by default, so you will need to choose an appropriate adapter for your environment, register it, then
    # reference it here.
    adapter: DaybreakStudios\PrometheusClient\Adapter\ApcuAdapter

    # The ID of a service implementing DaybreakStudios\PrometheusClient\CollectorRegistryInterface, OR the
    # fully-qualified class name of a class implementing the aforementioned interface. In the second case, the bundle
    # will automatically register the provided class as a service, using the class name as it's service ID.
    #
    # If you're using the built-in collector registry, you do not need to provide a value here.
    registry: DaybreakStudios\PrometheusClient\CollectorRegistry

    # The metrics section contains options for the built-in metrics endpoint listener, which provides the information
    # Prometheus needs to scrape your application.
    metrics:
        # Whether or not the built-in metrics endpoint is enabled. If this option is false, you will need to implement
        # the metrics endpoint on your own (see the section titled "Custom Metrics Endpoint").
        enabled: true

        # The path to use for the metrics endpoint. If `metrics.enabled` is false, this option is ignored.
        path: /metrics
```

Custom Metrics Endpoint
-----------------------

[](#custom-metrics-endpoint)

By default, this bundle registers a listener that responds to any requests to `dbstudios_prometheus.metrics.path` with the metrics data that Prometheus will need to scrape from your application. If you'd like to implement this endpoint on your own, see `DaybreakStudios\PrometheusClientBundle\Listeners\MetricsEndpointListener::onKernelRequest()` for an example implementation.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~2 days

Total

7

Last Release

2619d ago

Major Versions

1.0.2 → 2.0.02019-03-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/770791?v=4)[Tyler Lartonoix](/maintainers/LartTyler)[@LartTyler](https://github.com/LartTyler)

---

Top Contributors

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

---

Tags

clientphpprometheussymfony-bundle

### Embed Badge

![Health badge](/badges/dbstudios-prometheus-client-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dbstudios-prometheus-client-bundle/health.svg)](https://phpackages.com/packages/dbstudios-prometheus-client-bundle)
```

###  Alternatives

[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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