PHP Client for Librato Metrics
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Metrics
tests/Metrics
.gitignore
.travis.yml
LICENSE
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

PHP Metrics Client

Build Status

A PHP Client for sending data to librato metrics. Inspired or ported from node-librato-metrics from @felixge

Install

Installation should be done via Composer.

$ composer require nesQuick/Metrics

Example

use Metrics\Client;

$client = new Client('user@example.org', '...');
$client->post('/metrics', array(
  'gauges' => array(
    array('name' => 'metric1', 'value' => 123)
  )
));

ToDo's

License

Licensed under the MIT license.