librato

Librato client for Node =======================

Usage no npm install needed!

<script type="module">
  import librato from 'https://cdn.skypack.dev/librato';
</script>

README

Librato client for Node Build Status

Minimal Librato client written in CoffeScript for Node.JS application for posting matrices to Librato.

Requirements

  • Node.JS >= 0.10

Features

  • Post gauge update
  • Post counter update

Install

npm install librato --save

Usage

librato = new LibratoClient(user, token, options)

Options

  • String prefix - metrics name prefix
  • String source - metric source default value

librato.measure(key, val, opts, cb)

New gauge measurement.

librato.count(key, val, opts, cb)

New counter increment.

MIT license