Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stat-monitor dashboard help #21

Open
hossamr77 opened this issue Jun 23, 2015 · 3 comments
Open

stat-monitor dashboard help #21

hossamr77 opened this issue Jun 23, 2015 · 3 comments

Comments

@hossamr77
Copy link

i wrote the following line of codes to calculate statistics for function invocation

var stat = require('monitor').getStatLogger('person');

function getUserUUIDByEmail(req, res, opts){
stat.increment('person.byEmail');
}

i need help to view 'person.byEmail' property in the dashboard

@lorenwest
Copy link
Owner

The node-monitor stat function records stats to a backend such as graphite.

To get this into monitor-dashboard

1 - Install graphite
2 - Configure node-monitor stats to send the stat to graphite
3 - Verify the stat is being sent to graphite using the graphite UI
4 - Build a graphite viewing component for monitor-dasboard

When you get to step #4, paste a screen shot of your graphite graph and I can show you how to hook that graph into a monitor-dashboard component.

@hossamr77
Copy link
Author

Thanks lorewest for your replay , but i can't find any documentation about how to Configure node-monitor stats to send the stat to graphite?
do you have any documentation ?

@lorenwest
Copy link
Owner

Documentation on the stats module is in the node monitor project. Getting statsd running is well documented in the statsd project. Putting it all together is an exercise for the do-it-yourselfer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants