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

Should hook into Adhearsion's Statistics class #1

Open
JustinAiken opened this issue Jan 20, 2014 · 2 comments
Open

Should hook into Adhearsion's Statistics class #1

JustinAiken opened this issue Jan 20, 2014 · 2 comments

Comments

@JustinAiken
Copy link
Owner

Would be cool if there was an option to hook into Adhearsion::Statistics with this plugin, so that graphite could graph all those stats with no programming needed on the users part...

  • Perhaps monkey-patch these 4 methods
  • Or maybe alias Celluloid::Actor[:statistics] to Celluloid::Actor[:statistics_original] and insert our own Celluloid::Actor[:statistics] that also sends stats.
  • Or maybe leave the built in stats alone, and just register our own event handlers in a similar fashion..
@bklang
Copy link
Contributor

bklang commented Jan 23, 2014

tagging @benlangfeld

@benlangfeld
Copy link

Or periodically poll for a #dump?

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