PHP-Metrics-Client
PHP-Metrics-Client copied to clipboard
PHP Client for Librato Metrics
PHP Metrics Client
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('[email protected]', '...');
$client->post('/metrics', array(
'gauges' => array(
array('name' => 'metric1', 'value' => 123)
)
));
ToDo's
License
Licensed under the MIT license.