Skip to content

OleMchls/PHP-Metrics-Client

Repository files navigation

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.

About

PHP Client for Librato Metrics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages