nesquick/metrics

PHP Client for Librato Metrics APIs.

Maintainers

👁 nesQuick

Package info

github.com/nesQuick/PHP-Metrics-Client

pkg:composer/nesquick/metrics

Statistics

Installs: 44 614

Dependents: 1

Suggesters: 0

Stars: 17

Open Issues: 0

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

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 173e31ee3da814e66976e4c0a73f6660544077cd

apiclientMetrics

This package is not auto-updated.

Last update: 2026-06-26 22:04:44 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.