Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony Openmetrics Bundle

Symfony bundle for exporting application telemetry from your application to Prometheus.

Installation

Download the bundle

composer require netolabs/openmetrics-bundle

Add the bundle to your AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Neto\OpenmetricsBundle\NetoOpenmetricsBundle(),
        );
    }
}

Add the configuration to config.yml

neto_openmetrics:
    namespace: neto_ecommerce
    ignored_routes: []

Add the routes.yml for your /metrics endpoint

neto_openmetrics:
    resource: '@NetoOpenmetricsBundle/Resources/config/routes.yml'
    prefix: /

About

Symfony 3 bundle for exporting application telemetry to Prometheus

Topics

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages