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

StatsD integration #10

Closed
macbre opened this issue Mar 15, 2013 · 7 comments
Closed

StatsD integration #10

macbre opened this issue Mar 15, 2013 · 7 comments
Assignees
Milestone

Comments

@macbre
Copy link
Owner

macbre commented Mar 15, 2013

Use npm install node-statsd

statsd-client (from Etsy)

@ghost ghost assigned macbre Mar 15, 2013
@macbre
Copy link
Owner Author

macbre commented Dec 23, 2013

Waiting for #186

@anton-rudeshko
Copy link

Looking forward to it!

@macbre
Copy link
Owner Author

macbre commented Jan 6, 2014

Supported options:

  --format statsd
  --statsd-host localhost
  --statsd-port 1234
  --statsd-prefix "service.page."

prefix is prepended to metrics names (defaults to phantomas.)

@macbre
Copy link
Owner Author

macbre commented Jan 11, 2014

$ DEBUG=*  phantomas --url http://localhost -R statsd --statsd-prefix 'app.main.'

  phantomas:reporter Setting up statsd reporter... +0ms
  phantomas:reporter:statsd Patameters: {"host":"localhost","port":8125,"prefix":"app.main."} +0ms
  phantomas:reporter Done +5ms
  phantomas:bin Emitting results... +0ms
  phantomas:reporter:statsd Not sending jQueryVersion as "" is not a numeric metric +2ms
  phantomas:reporter:statsd All metrics sent (2743 bytes) +8ms

$ nc -l -u -p 8125 localhost
 app.main.requests:3|msapp.main.gzipRequests:1| ...

@macbre
Copy link
Owner Author

macbre commented Jan 11, 2014

@anton-rudeshko: took 10 months, but it's finally done ;) Will be a part of v1.0 release.

@anton-rudeshko
Copy link

Great work, @macbre! Have a nice weekend

@wangshijun
Copy link

great work

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

No branches or pull requests

3 participants