werkspot/statsd-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Bundle for easy statsd metric reporting

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 37

Forks: 1

Open Issues: 0

Type:symfony-bundle

v0.1.0 2015-12-30 14:32 UTC

This package is auto-updated.

Last update: 2020-10-21 07:18:29 UTC


README

Travis build status Scrutinizer Code Quality

Install

# composer require werkspot/statsd-bundle

Update your config

werkspot_statsd:
    application_prefix: my_app

Inject statsd clients to services

Use the interface to prepare the service to receive a client

Werkspot\Bundle\StatsdBundle\Client\StatsdClientInterface

Use the client factory and symfony expression language to inject via the container with a secondary prefix

services:
    test.service:
        class: App\TestService
        arguments:
            - "@=service('werkspot_statsd.client_factory').getClient('instant_connect.service.participant')"