Skip to content

Application shows a working demo of statasD library using node and redis.

Notifications You must be signed in to change notification settings

matang-dave/statasD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Applicationi gives basic understading of implimentation and usage stataD library .

Application reads statastics from the client , updates the redis with particular statastics and sends the information to statasD server .

---install node---
https://nodejs.org/en/download/package-manager/

--- install redis server---
apt-get install redis-server

--- install node packages ---
npm install statsd-client
npm install node-statsd
npm install redis

--- Run statsd client ---
node myStatsdClient.js

Client send increment of a counter to server periodically .

--- Run program ---
node myStatsdServer.js

Program creats a upd server and accepts increments of counters from the client.
Updates the value in redis and send the message to actual statsd server with a udp client.

-- Run actual statud server ---
node statsdServer/stats.js statsdServer/config.js

About

Application shows a working demo of statasD library using node and redis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published