DevChatterBot
DevChatterBot copied to clipboard
Add a Counter to Show how often each command is used
The number of commands is increasing rapidly. Perhaps adding some metrics would be helpful. These metrics could include how many times a command has been used and the last time it was called.
This could be used by Bot Admins to identify unused commands. Then they can try to improve the command to make it more useful or deactivate the command to "de-clutter" the !commands list.
This is a great idea, do you have any suggestions on how to do this. there's a couple of ideas i can think of, persistant vs instanced metrics (the All Time Stats, vs the Just this Instance's state) and where and how to store that information.
you could use something like Application Inisights to store and manage these metrics as well as just a DB Table.
AppInsights would give you a lot "More" but is it worth it? hmmm. that's a good question.
i just had a thought, instance in memory metrics with a archival database backed statistics "Monitor" for historyonics so that you could use the in memory metrics to monitor cool down and usages to prevent spam where you can also log and review use thru the backing data store. (be it DB or AppInsights or what ever)
I really like this idea.