nesquick/metrics

PHP Client for Librato Metrics APIs.

v1.0 2015-02-25 21:28 UTC

This package is not auto-updated.

Last update: 2024-11-15 14:38:04 UTC


README

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.