Skip to content

ashpool/graphite-promise

Repository files navigation

graphite-promise

NPM version Downloads Actions Status Actions Status

Status

Experimental/Unstable

Usage

import {GraphiteClient} from 'graphite-promise';

const client = new GraphiteClient('plaintext://127.0.0.1:2003/'
    || {hostedGraphiteKey: 'a key', url: 'graphite url'});

Example

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

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