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

Add metrics integration #6

Open
devth opened this issue Sep 30, 2014 · 4 comments
Open

Add metrics integration #6

devth opened this issue Sep 30, 2014 · 4 comments

Comments

@devth
Copy link
Member

devth commented Sep 30, 2014

https://github.com/sjl/metrics-clojure

@LeonmanRolls
Copy link
Contributor

Hey, do you have any ideas for cool or useful things to measure? Wouldn't mind having a go at this.

@devth
Copy link
Member Author

devth commented Apr 8, 2017

Hey @LeonmanRolls! Here are some ideas; feel free to add your thoughts. I haven't used the metrics lib so I have no idea what the implementation will look like or how hard these are to capture. Maybe can pick just a few of these to start?

  1. number of commands invoked per hour/day/month/etc
  2. "punch card" - when yetibot is used most frequently
  3. command latency percentiles: 100, 99, 98, 95, 90, 85, ...
    • would be really cool if we could capture how much of that was spent in IO vs cpu but I'm guessing that would require some heavy plumbing. maybe phase 2 :)
  4. list of users by number of commands invoked, sorted by the latter
  5. top categories of commands (category is stored as metadata on the command function)

Could probably come up with a lot more but here's a starting point!

@devth
Copy link
Member Author

devth commented Apr 8, 2017

@LeonmanRolls also, FYI Yetibot is running an http server; the public Yetibot instance is at public.yetibot.com. Doesn't do much now but that could be a cool place to render a view of the metrics.

Also join up on Yetibot Slack if you'd like and I can provide a bot key for you to test your local Yetibot.

@LeonmanRolls
Copy link
Contributor

Those are great! I think i'll implement and render each point one at a time. I'll also join the slack, see you there :)

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