Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 985 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 985 Bytes

statful-traffic-splitter NPM version build status

this component listens to traffic-splitter events and sends metrics to statful with statful-client.

How to

const Statful = require('statful-client')
const TrafficSplitter = require('traffic-splitter')
const StatfulTrafficSplitter = require('statful-traffic-splitter')

const statful = new Statful(/*statful config*/)
const splitter = new TrafficSplitter(/*splitter config*/)

StatfulTrafficSplitter(statful, splitter)