librato
v0.1.1
Published
Librato client for Node
Downloads
1
Maintainers
Readme
Librato client for Node
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 prefixString
source - metric source default value
librato.measure(key, val, opts, cb)
New gauge measurement.
librato.count(key, val, opts, cb)
New counter increment.