Skip to content

NetoECommerce/openmetrics-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages