Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

hojt/graphite-promise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphite-promise

NPM version Downloads Build Status

Status

Experimental/Unstable

Usage

var graphite = require('graphite-promise'),
client = graphite.createClient(<graphite-url> e.g 'plaintext://127.0.0.1:2003/' 
|| {hostedGraphiteKey: 'a key', url: 'graphite url'});
client.write(metric, timestamp)
  .then(function(){})
  .catch(function(reason){})
  .finally(function(){
    client.end();
  });

Example

client.write({home:{indoor:{temp:21.2}}}, 1427727486200);

This project began as a fork of https://github.com/felixge/node-graphite

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%