fortis/silex-graphite

Silex 2 Service Provider for Hosted Graphite

v1.0.0 2016-08-08 20:20 UTC

This package is auto-updated.

Last update: 2024-12-13 22:16:13 UTC


README

Installation

  composer require fortis/silex-graphite

Usage

Register

  $app->register(new GraphiteServiceProvider(), [
    'graphite.options' => [
      'apiKey' => 'fcd8e41a-808e-449d-bfa0-5537a4ce168e7',
      'host'      => 'udp://8a1ga0ff.carbon.hostedgraphite.com',
      'port'      => 2003,
      'prefix' => 'some.metric.namespace'
    ]
  ]);

License

MIT License