Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
/ winston-graphite Public archive

Graphite transport for NodeJS winston logging library

License

Notifications You must be signed in to change notification settings

PicsArt/winston-graphite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-graphite

Graphite transport for NodeJS winston logging library

Build Status

Installation

npm install winston-graphite

A Graphite TCP transport for winston.

Usage

Node

  var winston = require('winston');

  //
  // Requiring `winston-graphite` will expose
  // `winston.transports.Graphite`
  //
  require('winston-graphite');

  winston.add(winston.transports.Graphite, {
    port: 2003,
    host: '127.0.0.1'
  });
  
  winston.info(
        'mymetric.category_1 100'
    );
    
  // or  
  
  winston.info('mymetric.category_1', {value: 100, timestamp: 1435708800});

Performance

It currenlty works on our infrastructure, and processes about 500K datapoints per minute Sample Graphic

License: MIT

See LICENSE for the full license text.

About

Graphite transport for NodeJS winston logging library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •