PHPackages                             l3tum/prometheus-metrics-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. l3tum/prometheus-metrics-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

l3tum/prometheus-metrics-bundle
===============================

Symfony 4/5 Prometheus Metrics Bundle

1.9.0(5y ago)01.6kMITPHPPHP ^7.2|^8.0

Since Oct 20Pushed 5y agoCompare

[ Source](https://github.com/L3tum/prometheus-metrics-bundle)[ Packagist](https://packagist.org/packages/l3tum/prometheus-metrics-bundle)[ RSS](/packages/l3tum-prometheus-metrics-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (12)Versions (18)Used By (0)

[Master](https://github.com/l3tum/prometheus-metrics-bundle/tree/master)[Develop](https://github.com/l3tum/prometheus-metrics-bundle/tree/develop)[![Build Status](https://github.com/l3tum/prometheus-metrics-bundle/workflows/PHP/badge.svg?branch=master)](https://github.com/l3tum/prometheus-metrics-bundle/actions?query=workflow%3APHP+branch%3Amaster)[![Build Status](https://github.com/l3tum/prometheus-metrics-bundle/workflows/PHP/badge.svg?branch=develop)](https://github.com/l3tum/prometheus-metrics-bundle/actions?query=workflow%3APHP+branch%3Adevelop)\[[![Coverage Status](https://camo.githubusercontent.com/acde635021bf70287f918625fc9ee431029d66bc406ace23a3fb3b477b0c3c68/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6c3374756d2f70726f6d6574686575732d6d6574726963732d62756e646c652f6d61737465722e737667)](https://camo.githubusercontent.com/acde635021bf70287f918625fc9ee431029d66bc406ace23a3fb3b477b0c3c68/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6c3374756d2f70726f6d6574686575732d6d6574726963732d62756e646c652f6d61737465722e737667)\]\[[![Coverage Status](https://camo.githubusercontent.com/d32d2cd18f2e45615b17f08ba912f684fe8c40274e5f0a68f0201d3939605c25/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6c3374756d2f70726f6d6574686575732d6d6574726963732d62756e646c652f646576656c6f702e737667)](https://camo.githubusercontent.com/d32d2cd18f2e45615b17f08ba912f684fe8c40274e5f0a68f0201d3939605c25/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6c3374756d2f70726f6d6574686575732d6d6574726963732d62756e646c652f646576656c6f702e737667)\]Symfony 5 Prometheus Metrics Bundle
===================================

[](#symfony-5-prometheus-metrics-bundle)

Installation
============

[](#installation)

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require l3tum/prometheus-metrics-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require l3tum/prometheus-metrics-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
